Available in plans >= medium

Domain Endpoint

Retrieves all domains hosted on a single IP address.


GET/v2/domains

Domain Information

This domain endpoint returns information about hosted domains via a specified IP address.

Required attributes

  • Name
    ip
    Type
    string
    Description

    The IP you want to query the domains for

Optional attributes

  • Name
    page
    Type
    integer
    Description

    The page for iterating through all domains

  • Name
    limit
    Type
    integer
    Description

    The amount of domains you want to see on each page

Response Properties

  • Name
    data
    Type
    array<string>
    Description

    The hosted domains on this IP address as an array of strings

  • Name
    total_count
    Type
    integer
    Description

    ️️The total count of domains hosted on this IP address

  • Name
    current_page
    Type
    integer
    Description

    The current page displayed in this request

  • Name
    first_page_url
    Type
    string
    Description

    A link to the first page of the domains

  • Name
    from
    Type
    integer
    Description

    ️ The index of the first domain listed in this request

  • Name
    next_page_url
    Type
    string
    Description

    ️A link to the next page of the domains

  • Name
    per_page
    Type
    integer
    Description

    ️The amount of domains listed in one request

  • Name
    prev_page_url
    Type
    string
    Description

    A link to the previous page of the domains

  • Name
    to
    Type
    integer
    Description

    The index of the last domain listed in this request

Request

GET
/v2/domains
curl -G https://api.ipbase.com/v2/domains?ip=1.1.1.1 \
    -H "apikey: YOUR-API-KEY"

Full Response

{
    "data": [
        "eliwise.academy",
        "accountingprose.academy",
        "pistola.academy",
        "1and1-test-ntlds-fr.accountant",
        "omnergy.africa",
        "sulphur.africa",
        "saadeh.agency",
        "mi6-gov.agency",
        "zhonghuidigi.agency",
        "alecta.app",
        "carso.app",
        "desaparecidos.app",
        "hx.app",
        "ibx.app",
        "lawso.app",
        "akey.app",
        "yabo168.app",
        "yabo188.app",
        "bob223.app",
        "yabo104.app",
        "yabo110.app",
        "yabo113.app",
        "yabo118.app",
        "yabo125.app",
        "yabo127.app",
        "yabo130.app",
        "yabo131.app",
        "yabo132.app",
        "yabo134.app",
        "yabo135.app"
    ],
    "total_count": 11046,
    "current_page": 1,
    "first_page_url": "https://api.ipbase.com/v2/domains?apikey=[[REDACTED]]&ip=1.1.1.1&page=1",
    "from": 1,
    "next_page_url": "https://api.ipbase.com/v2/domains?apikey=[[REDACTED]]&ip=1.1.1.1&page=2",
    "per_page": 30,
    "prev_page_url": null,
    "to": 30
}