Calling resources
You can access the API using GET or POST requests over HTTPS.
GET https://partner.yandex.ru/api/<resource>.<format>?lang=<response_language>¶meters=<other_request_parameters>
Authorization:<token>
Acceptable headers:
| Name | Description | 
| 
 | Resource format. Acceptable values: 
 | 
| 
 | Authorization data. | 
Parameters:
| Parameter | Description | 
| 
 | The resource whose content is requested. | 
| 
 | Response format: 
 The response format can be specified in the  Note By default, the response is output in XML. | 
| 
 | The language of responses. Acceptable values: 
 | 
| 
 | Other request parameters listed in the resource descriptions. | 
POST https://partner.yandex.ru/api/<resource>.<format>
Authorization:<token>
POST request body:
lang=<response_language>parameters=<other_request_parameters>
Acceptable headers:
| Name | Description | 
|---|---|
| Accept | Resource format. Acceptable values: | 
- text/xml, application/xml
- text/json, application/json
Authorization| Authorization data.
Parameters:
| Parameter | Description | 
| 
 | The resource whose content is requested. | 
| 
 | Response format: 
 The response format can be specified in the  Note By default, the response is output in XML. | 
| 
 | The language of responses. Acceptable values: 
 | 
| 
 | Other request parameters listed in the resource descriptions. |