Services & APIs
Developer Utility APIs
High-speed developer micro-APIs for IP geolocation, DNS resolution, and webhook relaying.
Developer Utility APIs
1st Services provides a suite of microservices designed to handle common operational and networking tasks inside your applications.
1. IP Geolocation & ASN Lookup
Inspect client IP addresses to determine country, city, coordinates, ISP, and Autonomous System (ASN):
GET https://api.1st-services.com/v1/utils/ip/:ip_address
Example Response
{
"status": "success",
"data": {
"ip": "194.163.140.22",
"type": "ipv4",
"country_code": "DE",
"country_name": "Germany",
"city": "Frankfurt",
"postal_code": "60311",
"latitude": 50.1109,
"longitude": 8.6821,
"asn": {
"number": 51167,
"org": "Contabo GmbH"
},
"is_vpn": false,
"is_datacenter": true
}
}
2. DNS over HTTPS (DoH) API
Perform ultra-fast DNS lookups programmatically:
GET https://api.1st-services.com/v1/utils/dns?name=example.com&type=A
{
"status": "success",
"data": {
"question": { "name": "example.com", "type": "A" },
"answers": [
{ "name": "example.com", "type": "A", "TTL": 300, "data": "93.184.216.34" }
]
}
}
3. Real-Time Webhook Relay & Tester
Test and relay webhooks to local dev environments or third-party endpoints:
POST https://api.1st-services.com/v1/utils/webhooks/relay
{
"target_url": "https://webhook.site/my-uuid",
"payload": { "event": "order.created", "amount": 99.00 },
"headers": { "X-Custom-Auth": "secret123" }
}
