This is temporary documentation for V3 of the Etsy API. See the API Reference for information regarding specific API calls.
The base URL for the Etsy API is:
https://openapi.etsy.com/v3/
All paths should be added after that. Note that HTTPS is required;
The API key is included in the request in the x-api-key
HTTP header.
If the API key is 'ABC789', then include a header as:
x-api-key: ABC789
We use OAuth 2.0 bearer tokens which are sent in the Authorization header. If the OAuth token is 'xyz123', then send the header as:
Authorization: Bearer xyz123
The bearer token should be the same OAuth token that you use for making OAuth 1.0 calls in v2 of the Etsy API.
We expect the locale information to be submitted in the "X-Detected-Locale" header as a pipe delimited tuple of 3 elements:
- Currency
- Language
- Region
Examples of the locale header contents might be:
USD|en-US|US
EUR|fr|EU
Here are two examples with curl. The first is for a Public Perspective call that does not require OAuth. The second is for a Member Perspective call that does require OAuth.
curl -H "x-api-key: <your-key-here>" -H "X-Detected-Locale: USD|en|US" https://openapi.etsy.com/v3/public/ping
curl -H "x-api-key: <your-key-here>" -H "Authorization: Bearer <your-oauth-token-here>" https://openapi.etsy.com/v3/member/emails
The Etsy API has a concept of perspectives which indicates on whose behalf a request is being made.
https://openapi.etsy.com/v3/public
The Public Perspective is for data that is visible to signed out user. An example of this would be a shop banner.
https://openapi.etsy.com/v3/member
Member Perspective calls require an OAuth token and are made on behalf of the user who authorized that token. The user ID is implied by the OAuth token and cannot be specified directly. This perspective might be used to retrieve the email address of a user.
https://openapi.etsy.com/v3/shop/:shop_id
Shop Perspective calls also require an OAuth token and are made on behalf of the given shop (assuming it is owned by the user who authorized the given oauth token). This perspective could be used to renew a listing owned by the shop.
https://openapi.etsy.com/v3/application
The Application Perspective is to make private calls on behalf of your own application. An example of this is to add provisional users if your app doesn't have or need full access.