SeoclerksDevelopers

Seoclerks API

Buy, sell, message and get paid on Seoclerks.

Get an API key OpenAPI file

curl "https://www.seoclerk.com/api/v1/me" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

The Seoclerks REST API for buyers and sellers. Everything a route decides, it decides through the website's own rules.

Authentication

Create a key at Settings > API on the website. The full key is shown once. Send it over HTTPS in exactly one header:

Authorization: Bearer sck1_...
X-API-Key: sck1_...

Both headers together are refused. A key in the query string is refused (400 key_in_query) and should be rotated. Plain HTTP is refused, never redirected (400 https_required). Keys expire after 30, 90 (default) or 365 days, or never; they can be renamed and revoked at any time, and at most ten are active per member. Changing the account password stops every key made before it (401 key_revoked). A key that can make changes is only made after the member proves a second factor, and every new key is emailed to the member. A key works on every Seoclerks storefront; the host decides which marketplace's data is read.

Scopes

A key is created with the scopes it needs. read grants every read; a narrow read scope grants its own area only. write grants every ordinary write, including ones added later. Three scopes are never part of write and must be chosen on their own, with a second factor proved when the key is created: checkout:write (buy listings with the balance, price an order first, and make payment links — links are here, not under deposits), deposits:write (let a purchase that is short of balance run the member's own Auto Reload against their saved card; it makes no payment links of its own) and payouts:write (ask for a withdrawal). A write scope never grants a read, and no scope can change a payout destination.

Responses

Success is {"data": ..., "meta": {"request_id": "..."}}. Lists add meta.limit and meta.next_cursor. Errors are RFC 9457 problem details (application/problem+json) with a stable code; branch on code, not on title. A resource that does not exist and one the caller may not see give the same 404. Timestamps are ISO 8601 UTC. Money is {"amount": "12.50", "currency": "USD"}, the amount a string. Text fields hold stored content, not trusted HTML.

Pagination

Lists return 25 items by default, 100 at most (limit), newest first. To continue, send meta.next_cursor back as cursor with the same path and filters. A cursor is signed and bound to the key, the account, the host, the path and the filters; anything else is 422 bad_cursor.

Caching

Every response is private. GET responses carry a weak ETag and Cache-Control: private, no-cache; send it back in If-None-Match for a bodyless 304. Writes and errors are no-store. Nothing is served from a shared cache.

Rate limits

Per member, shared by all of the member's keys: 300 requests a minute overall, and 60 writes a minute within that. Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (seconds); 429 rate_limited adds Retry-After. A write's headers describe the write budget.

Only a route that changes something spends a write. POST /orders/quote writes nothing, so it costs one of the 300 requests a minute and none of the 60 writes: pricing several candidate listings before buying one does not use up the budget the purchase itself needs.

Writes and idempotency

Send Content-Type: application/json and a JSON object of at most 65,536 bytes. Unknown fields are refused, never ignored. Writes take no query parameters. Every POST needs an Idempotency-Key (1-64 of A-Z a-z 0-9 _ . -); on PATCH and DELETE it is optional. A retry with the same key and the same request returns the first response with Idempotency-Replayed: true; the same key with a different request is 409 idempotency_conflict. Results are kept for at least 48 hours. Emails and other effects of a write are sent after it commits, at least once.

Step-up for withdrawals

A key alone never withdraws. (1) POST /me/step-ups with the method and amount; you get an approve_url. (2) The member opens it logged in on the website and approves with a fresh second factor. They have ten minutes. (3) Within ten minutes of approval, send POST /balance/withdrawal-requests with the same body and the header Step-Up: <id>. A step-up works once, for exactly that request. No route changes where money is paid: payout destinations are set on the website only.

CORS

Browser calls are allowed only from origins the site has listed, exactly. Allowed request headers: Authorization, X-API-Key, Content-Type, Idempotency-Key, Step-Up, If-None-Match.

Versioning and deprecation

This is version 1, under /api/v1/. Fields and routes may be added; none is removed or changed in meaning within v1. Anything to be retired will be announced here and will answer with Deprecation and Sunset headers for at least 180 days first. The older keyless Service Ads API and the consumer_key API are separate and unchanged.

All scopes

ScopeWhat it allows
readEvery read.
orders:readOrders and subscriptions.
listings:readServices, favorites, jobs and trades.
messages:readConversations and attachments.
balance:readBalance, payments, payout methods, affiliates.
writeEvery ordinary write, including ones added later. Never checkout:write, deposits:write or payouts:write, and it cannot change payout details.
notifications:writeMark notifications read.
messages:writeSend messages and start conversations, upload attachments, edit your own messages, organise folders, set conversation flags, and block or unblock members.
account:writeUpdate your profile, settings and notification preferences, manage favourites and their folders, and mark ratings helpful.
orders:writeOrder messages, deliveries, completion, ratings, requests, invoices.
listings:writeCreate, edit and publish your listings, reorder them, and pause, activate or delete them.
bumps:writeBoost listings.
subscriptions:writeCancel subscriptions.
requests:writePost, edit, close, reopen and delete your jobs, bid on jobs and withdraw a bid, and comment on jobs.
checkout:writeBuy listings with the balance, price an order first, and make payment links that add funds to it. Payment links are here, not under deposits:write. Never in write.
deposits:writeLet a purchase that is short of balance run the member's own Auto Reload against their saved card. It makes no payment links of its own. Never in write.
payouts:writeStep-ups and withdrawal requests. Never in write. Offered only while the site has API withdrawals switched on.
deliverable-qa:writePay Workbench credits to have a delivery report scored (POST /deliverable-qa/scores). Never in write. Off until the site switches it on.
mcpUse this key with the MCP server for AI assistants, at /mcp. Never implied by read or write.

Looking for the older Service Ads API? It still works and has its own page. Service Ads API