Overview and quickstart
View as MarkdownThe Seller API isn't open to every seller yet. You can read the docs now; API keys and the Claude connector work once the API is turned on for your account. To ask for access, contact us.
The Seller API lets you create draft listings with items on Gathermark from a script, an AI agent, or Claude. You describe the listing and its items; Gathermark saves it as a draft in your dashboard. You then open the draft on the site, add photos if needed, and publish it yourself.
- API base URL:
https://api .gathermark .com - MCP server (for Claude and other AI clients):
https://api .gathermark .com/ mcp - OpenAPI spec:
https://api .gathermark .com/ v1/ openapi .json
Listings are created as drafts only; the API never publishes.
Quickstart
1. Create an API key
Once the Seller API is turned on for your account, go to Dashboard › Settings › API keys, choose Create key, give it a name (for example "Pen roll script") and copy the key. It is shown once. Keys start with gm_.
Keep the key secret: anyone with it can create drafts in your shop. If it leaks, revoke it on the same page and create a new one.
2. Create your first draft
export GATHERMARK_API_KEY="gm_live_your_key_here"
curl -X POST "https://api.gathermark.com/v1/listings" \
-H "Authorization: Bearer $GATHERMARK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"title": "Vintage pen roll: Parker, Pelikan, Sheaffer",
"description": "Ten restored pens, all tested.",
"currency": "USD",
"items": [
{
"name": "Parker 51 Aerometric",
"price": "185.00",
"condition": "Excellent",
"nib_size": "F",
"quantity": 1,
"description": "Teal, lustraloy cap."
}
]
}'
The response (201 Created):
{
"id": "h7Gf2KpL9sQw4ZxC",
"status": "draft",
"edit_url": "https://gathermark.com/dashboard/listings/h7Gf2KpL9sQw4ZxC/edit",
"listing_url": null,
"can_publish": false,
"missing": ["image", "shipping"],
"items": [ { "id": "…", "name": "Parker 51 Aerometric", "price": "185.00", "images": [] } ],
"warnings": []
}
3. Open the draft and publish
Open edit_ in your browser. Add photos, check the details, and publish. Once the listing is published, listing_ in every listing response is its public page, the one buyers see (it is null while the listing is a draft). missing tells you what the site still needs before you can publish (see Drafts and publishing).
Before you build
Call these first to get the values a listing can use:
GET https://: your display name, default currency, whether you can publish, and your limits and usage today.api .gathermark .com/ v1/ me GET https://: allowedapi .gathermark .com/ v1/ vocab conditionandnib_values, supported currencies, field limits for drafts (size limits) and the stricter minimums for publishing (publish_).limits GET https://: your saved shipping profiles.api .gathermark .com/ v1/ shipping-profiles GET https://: the communities a listing can be posted in.api .gathermark .com/ v1/ communities
Rules at a glance
- Prices are decimal strings in the listing currency, with the currency's own decimals:
"185in USD,.00" "1500"in JPY. - Descriptions are plain text. Separate paragraphs with a blank line.
- Request bodies are strict: an unknown field is rejected with
422naming the field. - Only public IDs appear in requests and responses.
- Timestamps are ISO 8601 in UTC, ending in
Z. - JSON only.
Conventions and versioning has the details, the breaking-change policy and the changelog.
More
- Authentication and scopes
- Limits and errors
- Images
- Drafts and publishing
- Conventions and versioning
- API reference
- Use with Claude
Every page is also available as markdown (add .md to the page URL; this overview is at https://