marketapi

One API to sell on every marketplace.

Integrate once. Your customers connect their Mercado Livre, Magalu, Amazon, TikTok Shop and Shopee accounts, and your system publishes products, receives orders and serves buyers through the same API.

Free up to 5 sellers. Then $9.90 per seller.

You ask for the connect link

curl -X POST https://api.marketapi.shop/v1/sellers/$SELLER_ID/link-sessions \  -H "Authorization: Bearer mk_your_api_key" \  -H "Content-Type: application/json" \  -d '{"allowedMarketplaces":["mercadolivre"]}'

You get the webhook when the seller connects

{  "type": "connection.created",  "sellerId": "3d1c8a52-7f0e-4b0a-8a65-9c1b2f6d7e01",  "data": {    "connection": {      "id": "9a1b2c3d-4e5f-4a6b-8c7d-0e1f2a3b4c5d",      "marketplace": "mercadolivre",      "status": "active"    }  }}
Switch the marketplace: one word changes. The rest of the code stays the same.
marketplaces in one API
5
documented routes
191
webhook event types
35
languages in the docs
2

Five marketplaces, one format.

Products, listings, orders and webhooks have the same format on all of them. Each marketplace's quirks stay with us.

How it works

Three steps from sign-up to the first sale.

  1. Create the seller

    Each of your customers becomes a seller. One call, with your own ID to link the two.

    POST /v1/sellers
  2. The seller connects their accounts

    You send a link. The seller authorizes the marketplace on a page of ours. No sign-up and no password to store.

    POST /v1/sellers/{id}/link-sessions
  3. Your system takes over

    Publish, sync stock and receive orders through the API. Every change arrives as a webhook.

    POST /v1/listings/{listingId}/publish

Connect your first seller in a few lines

Create the seller and ask for the connect link. No SDK needed: it is HTTP with JSON, in any language.

# 1. Create the sellercurl -X POST https://api.marketapi.shop/v1/sellers \  -H "Authorization: Bearer mk_your_api_key" \  -H "Content-Type: application/json" \  -d '{"name":"Acme Store","externalId":"customer-123"}' # 2. Ask for the connect link and send its url to the sellercurl -X POST https://api.marketapi.shop/v1/sellers/$SELLER_ID/link-sessions \  -H "Authorization: Bearer mk_your_api_key" \  -H "Content-Type: application/json" \  -d '{"redirectUrl":"https://your-app.com/connected"}'

Build it yourself or use marketapi

Integrating one marketplace is a project. Five is five projects, and none of them ever ends.

Comparison between building it yourself and using marketapi
What has to existBuild it yourselfWith marketapi
An approved app on each marketplaceYou build and maintain itIncluded
Token exchange and refreshYou build and maintain itIncluded
Each marketplace's notifications, queued and retriedYou build and maintain itIncluded
One standard for units: cents, grams and millimetersYou build and maintain itIncluded
A page for the seller to connect their accountsYou build and maintain itIncluded
Keeping up with API changesYou build and maintain itIncluded
One format for all five marketplacesYou build and maintain itIncluded

Built for developers

A REST API with JSON, docs in English and Portuguese, and a contract that does not change from one marketplace to the next.

  • Signed webhooks

    HMAC-SHA256 on every delivery. Failed? We retry for up to 24 hours.

  • Idempotency

    Repeat a request with the same Idempotency-Key without creating anything twice.

  • Jobs

    Anything that talks to the marketplace runs in the background. Follow it through the job or the webhook.

  • OpenAPI

    The full spec to generate your client or try it in the docs playground.

  • AI-ready

    The whole documentation at /llms.txt, in the format agents read.

  • Your own app

    Prefer the app you already have on the marketplace? Connections switch to it.

Ready for AI agents

The whole documentation as text, in the format agents read, and the full OpenAPI spec.

  • /llms.txt

    The docs index, with absolute links.

  • /llms-full.txt

    Every page in one file, in English or Portuguese.

  • OpenAPI

    Every route, field and error, for the agent to build the call.

See the solution for AI agents
$ curl https://marketapi.shop/llms.txt?lang=en# marketapi documentation> marketapi is a B2B API that puts many marketplaces (Mercado Livre, Magalu, Amazon, TikTok Shop, Shopee) behind one API. Your company (the account) integrates once; each of your sellers connects their marketplace accounts through a hosted page.- Every page in Markdown, in one file: https://marketapi.shop/llms-full.txt?lang=en- Every field of every endpoint (OpenAPI 3): https://api.marketapi.shop/openapi.json- Esta documentação em português: https://marketapi.shop/llms.txt?lang=pt## Guide- [Overview](https://marketapi.shop/docs): What marketapi does, the phases of an integration and what each part of the API covers.- [Getting started](https://marketapi.shop/docs/getting-started): From API key to your first seller.- How it works…

Simple pricing

Free up to 5 sellers. Then $9.90 per seller per month. Every marketplace and every route on every account.

See pricing
Up to 5 sellers
Free
6 or more
$9.90per seller, per month

Frequently asked questions

What is a seller?

One of your customers who sells on the marketplaces. They have no marketapi login: they only connect their accounts through the connect page.

Does my customer need a marketapi account?

No. Your company has the account. The seller only authorizes the marketplace on a page of ours, through the link you send.

Which marketplaces do you support?

Mercado Livre, Magalu, Amazon, TikTok Shop and Shopee. Each one's page shows what is already available.

Can I use my own marketplace app?

Yes. Register your app's credentials and connections switch to it. Following the marketplace's terms with your app is your responsibility.

When do I start paying?

Once you go past 5 sellers. Then all of them count: 6 sellers cost 6 × $9.90.

Do you store buyer data?

Only what is needed. Personal data comes out of its own route, every read is logged and the fields are deleted after the retention period.

Your first 5 sellers are free.

Create the account, generate an API key and connect your first seller today.