Parked domains

Parameters

HTTP method

Access rights

URL

Parameters

Note

GET arecords https://api.admitad.com/arecords/
  • limit **
  • offset **

Returns the list of publisher’s parked domains.*

GET arecords https://api.admitad.com/arecords/{w_id}/

Returns the list of parked domains of the ad space, where w_id is the ad space ID. *

  • * Returns the result in the JSON format.

  • ** Sets skipping and the number of records returned. For example limit=5&offset=2.

Example of use

Example of a request with utility ``curl``:

curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/arecords/?limit=2

Example of the response from the API server in the JSON format:

{
    "results": [
        {
            "domain": "somewebsite.ru",
            "website_id": 12901,
            "name": "Some website"
        },
        {
            "domain": "mywebsite.kz",
            "website_id": 12900,
            "name": "My website"
        }
    ],
    "_meta": {
        "count": 23,
        "limit": 2,
        "offset": 0
    }
}

Example of a request with utility ``curl``:

curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/arecords/12901/?limit=2

Example of the response from the API server in the JSON format:

{
    "results": [
        {
            "domain": "somewebsite.ru",
            "website_id": 12901,
            "name": "Some website"
        }
    ],
    "_meta": {
        "count": 1,
        "limit": 2,
        "offset": 0
    }
}

Description of API server response fields

Name

Description

website_id

Ad space ID

name

Name of parked domain

domain

Domain