Access to the API
The host for all API requests:
https://jsonapi.partner2.yandex.com/vX/
where X is the API version number.
You need an API key to access the API.
You can pass the key using one of the options:
-
Pass the key in the
AuthorizationHTTP header and add thetokentype before the value.Authorization: token ac3b42lp-89ls-... -
Pass it as a query parameter.
curl -g -i -H "Accept: application/vnd.api+json" GET 'https://jsonapi.partner2.yandex.com/vX/resources?page\[size\]=2&apikey=e78...'
Was the article helpful?
Previous
Next