# Domains Endpoint
Retrieves all domains hosted on a single IP address.
Request Method: GET
Request URL: https://api.ipbase.com/v2/domains
# Request Parameters
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikey | string | ️ | Your API Key |
ip | string | ️️ ️ ️ ️ ️ ️ | The IP you want to query the domains for |
page | integer | ️ ️ ️ ️ ️ | The page for iterating through all domains |
limit | integer | ️ ️ ️ ️ ️ | The amount of domains you want to see on each page |
# Sample 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
}
# Response structure
Available in: all plans
Name | Type | Description |
---|---|---|
data | array<string> | The hosted domains on this IP address as an array of strings |
total_count | integer | The total count of domains hosted on this IP address |
current_page | integer | The current page displayed in this request |
first_page_url | string | A link to the first page of the domains |
from | integer | The index of the first domain listed in this request |
next_page_url | string | A link to the next page of the domains |
per_page | integer | The amount of domains listed in one request |
prev_page_url | string | A link to the previous page of the domains |
to | integer | The index of the last domain listed in this request |