API v1

KeyFetch API

Make HTTP requests from any of our 4 global regions. Simple REST API designed for AI agents and automated systems.

Quick Start curl
# Make a request from Frankfurt
curl -X POST https://keyfetch.world/v1/fetch \
  -H "Authorization: Bearer YOUR_KEYKEEPER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://api.example.com/data",
    "region": "eu-frankfurt",
    "method": "GET"
  }'

Base URL

https://keyfetch.world

Authentication

Bearer <keykeeper_token>

Endpoints

POST /v1/fetch

Execute an HTTP request from the specified region and return the response.

Request Body
Parameter Type Required Description
url string Yes Target URL to fetch
region string No Region to fetch from (default: auto)
method string No HTTP method (default: GET)
headers object No Custom headers to send
body any No Request body (for POST/PUT)
timeout number No Timeout in ms (default: 30000)
GET /v1/regions

List all available regions and their status.

GET /health

Health check endpoint. Returns server status and active request count.

Available Regions

Frankfurt
DE
Region ID eu-frankfurt
Latency ~20ms
Sydney
AU
Region ID ap-sydney
Latency ~40ms
San Francisco
US
Region ID us-west
Latency ~15ms
New York
US
Region ID us-east
Latency ~10ms

SDK Examples

Python
import requests

response = requests.post(
    "https://keyfetch.world/v1/fetch",
    headers={"Authorization": f"Bearer {token}"},
    json={
        "url": "https://api.example.com",
        "region": "eu-frankfurt"
    }
)
data = response.json()
JavaScript
const response = await fetch('https://keyfetch.world/v1/fetch', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    url: 'https://api.example.com',
    region: 'eu-frankfurt'
  })
});
const data = await response.json();

Ready to integrate?

Get your API key from KeyKeeper and start making requests in minutes.