eBay API — Authentication — FetchLayer Docs
Documentation menu
FetchLayer FetchLayer API

Authentication

All requests use your FetchLayer API key as a Bearer token. No eBay developer account, no application keys, no OAuth consent flow and no eBay sign-in are required.

Sending requests

bash
curl -X POST https://api.fetchlayer.dev/ebay/price-check \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"listings":["334140575100","326634081605","335571739480"]}'

Keep your key secret

Only use API keys in server-side code and rotate a key immediately if it is exposed.

Every route is a POST

All six eBay endpoints take a JSON body over POST. There is no media download and no query-string route, so the key never travels in a URL. Image URLs in responses are eBay's own public links.

Authentication errors

A missing or invalid key returns HTTP 401.

json
{
  "error": "Invalid API key"
}