Quick Start
Get up and running with Geo & Location Toolkit API in under a minute.
Quick Start
Get started with the Geo & Location Toolkit API in minutes.
1. Get Your API Key
Sign up and subscribe at RapidAPI to get your API key.
2. Make Your First Request
curl
curl -X GET "https://geo.toolkitapi.io/v1/geo/country-info?code=DE" \
-H "X-API-Key: YOUR_KEY"
Python
import httpx
response = httpx.get(
"https://geo.toolkitapi.io/v1/geo/country-info",
params={"code": "DE"},
headers={"X-API-Key": "YOUR_KEY"},
)
print(response.json())
JavaScript
const response = await fetch(
"https://geo.toolkitapi.io/v1/geo/country-info?code=DE",
{ headers: { "X-API-Key": "YOUR_KEY" } }
);
const data = await response.json();
console.log(data);
3. Explore the Response
{
"code": "DE",
"name": "Germany",
"capital": "Berlin",
"region": "Europe",
"population": 83240525,
"languages": ["German"]
}
4. Next Steps
- Browse the full API Documentation
- View Pricing