You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The availability of fields in every API endpoint across all API plans is provided in the **_Reference Table_** within each respective API Documentation. e.g., for IPGeolocationApi, please visit [https://ipgeolocation.io/ip-location-api.html#reference-to-ipgeolocation-api-response](https://ipgeolocation.io/ip-location-api.html#reference-to-ipgeolocation-api-response).
161
+
> The availability of fields in every API endpoint across Free and Paid plans is provided in the **_Reference Table_** within each respective API Documentation. e.g., for IPGeolocationApi, please visit [https://ipgeolocation.io/documentation/ip-location-api.html#reference-to-ipgeolocation-api-response](https://ipgeolocation.io/documentation/ip-location-api.html#reference-to-ipgeolocation-api-response).
159
162
160
163
## Authentication Setup
161
164
To authenticate API requests, you'll need an API key from [ipgeolocation.io](https://ipgeolocation.io).
@@ -184,7 +187,7 @@ This is useful if:
184
187
- You're using the SDK from a **browser** or **server with allowed referrer/IP**
185
188
- Your keyless usage is enabled in the dashboard, by adding your domain name as Request Origin in `Add API key` section.
186
189
187
-
See [this section](https://ipgeolocation.io/documentation.html#2request-origin-cors) for more details.
190
+
See [this section](https://ipgeolocation.io/documentation/authorization-and-response-formats.html#request-origin-cors) for more details.
188
191
189
192
In this case, just skip setting the API key, and the API will automatically detect your request origin:
190
193
```javascript
@@ -210,7 +213,7 @@ This section shows how to use the `getIpGeolocation()` method from the JavaScrip
210
213
-`dma`
211
214
-`timezone`
212
215
213
-
For the full list of supported fields/modules, refer to the [IP Geolocation API Docs](https://ipgeolocation.io/ip-location-api.html#documentation-overview).
216
+
For the full list of supported fields/modules, refer to the [IP Geolocation API Docs](https://ipgeolocation.io/documentation/ip-location-api.html).
214
217
215
218
The `ip` parameter in the SDK can accept any valid IPv4 address, IPv6 address, or domain name. If the `ip=` parameter is not specified, the API will return information about the public IP of the machine.
The `getIpSecurityInfo()` method lets you query threat intelligence, proxy/VPN detection, and risk metadata for IP addresses.
642
645
643
-
For full endpoint specifications, refer to the [IP Security API documentation](https://ipgeolocation.io/ip-security-api.html#documentation-overview).
646
+
For full endpoint specifications, refer to the [IP Security API documentation](https://ipgeolocation.io/documentation/ip-security-api.html).
644
647
645
648
### Get Security API Default Fields
646
649
```javascript
@@ -849,7 +852,7 @@ This section provides usage examples of the `getAsnInfo()` method from the SDK.
849
852
> [!NOTE]
850
853
> ASN API is only available in the Advanced subscription plans.
851
854
852
-
Refer to the [ASN API documentation](https://ipgeolocation.io/asn-api.html#documentation-overview) for a detailed list of supported fields and behaviors.
855
+
Refer to the [ASN API documentation](https://ipgeolocation.io/documentation/asn-api.html) for a detailed list of supported fields and behaviors.
@@ -1010,7 +1013,7 @@ You can retrieve data like the responsible organization, role, contact emails, p
1010
1013
> [!NOTE]
1011
1014
> Abuse Contact API is only available in the **Advanced Plan**.
1012
1015
1013
-
Refer to the official [Abuse Contact API documentation](https://ipgeolocation.io/ip-abuse-contact-api.html#documentation-overview) for details on all available fields.
1016
+
Refer to the official [Abuse Contact API documentation](https://ipgeolocation.io/documentation/ip-abuse-contact-api.html) for details on all available fields.
1014
1017
1015
1018
### Lookup Abuse Contact by IP
1016
1019
```javascript
@@ -1113,7 +1116,7 @@ Sample Response:
1113
1116
## Timezone API Examples
1114
1117
This section provides usage examples of the `getTimezoneInfo()` method from the JavaScript SDK, showcasing how to fetch timezone and time-related data using different query types — IP address, latitude/longitude, timezone ID, IATA code, ICAO code, or UN/LOCODE.
1115
1118
1116
-
For full API specifications, refer to the [Timezone API documentation](https://ipgeolocation.io/timezone-api.html#documentation-overview).
1119
+
For full API specifications, refer to the [Timezone API documentation](https://ipgeolocation.io/documentation/timezone-api.html).
1117
1120
1118
1121
### Get Timezone by IP Address
1119
1122
@@ -1503,7 +1506,7 @@ Sample Response:
1503
1506
## Timezone Converter API Examples
1504
1507
This section provides usage examples of the `convertTimeBetweenTimezones()` method from the SDK. The Timezone Converter API allows you to convert a specific time from one timezone to another using timezone identifiers and optional date/time inputs.
1505
1508
1506
-
For more details, refer to the [Timezone Converter API documentation](https://ipgeolocation.io/timezone-api.html#convert-time-bw-time-zones).
1509
+
For more details, refer to the [Timezone Converter API documentation](https://ipgeolocation.io/documentation/timezone-api.html#convert-time-between-time-zones).
1507
1510
1508
1511
### Convert Current Time from One Timezone to Another
1509
1512
```javascript
@@ -1550,7 +1553,7 @@ Simply provide the appropriate source and target parameters in the method.
1550
1553
1551
1554
This section provides usage examples of the `getUserAgentDetails()` and `parseBulkUserAgentStrings()` methods from the JavaScript SDK. The **User Agent API** extracts and classifies information from user agent strings, including browser, engine, device, OS, and type metadata.
1552
1555
1553
-
For full explanation, visit the [User Agent API documentation](https://ipgeolocation.io/user-agent-api.html#documentation-overview).
1556
+
For full explanation, visit the [User Agent API documentation](https://ipgeolocation.io/documentation/user-agent-api.html).
This section provides usage examples of the `getAstronomyDetails()` method from the SDK, allowing developers to fetch **sun and moon timings** and **position data** based on **coordinates**, **IP**, or **location string**.
1637
1640
1638
-
Refer to the official [Astronomy API documentation](https://ipgeolocation.io/astronomy-api.html#documentation-overview) for more details.
1641
+
Refer to the official [Astronomy API documentation](https://ipgeolocation.io/documentation/astronomy-api.html) for more details.
0 commit comments