// API reference · v2

Fastah REST API

Call Fastah from your code: IP location lookups, and the Fastah Orbit satellite tools. Every operation, parameter and response is in the live OpenAPI spec: https://mcp.fastah.ai/rest/openapi.json

Send requests to your workspace’s own API host, https://<your-workspace>.api.fastah.net, with an API key from the Fastah console in an Authorization: Bearer header.

Have your agent write the client

Paste this into your coding agent, with your language filled in:
Fetch the Fastah REST API's OpenAPI spec from https://mcp.fastah.ai/rest/openapi.json and write a small, typed client for it in <your language>. Ignore the spec's servers entry: send every request to https://<your-workspace>.api.fastah.net, with the API key from the FASTAH_KEY environment variable in an Authorization: Bearer header. Read the spec's info.version and fail clearly if it differs from the version the client was generated from. Include one example call, GET /ip/8.8.8.8.

The API changes fast, and some changes break clients. Fetch the spec again before you regenerate, and pin the info.version your client was built from. With Fastah Orbit, see when the Orbit data last changed with GET /orbit/dataset_status and GET /orbit/dataset_changes.

Prefer an AI chat? Try Fastah in your AI chat. Calling the IP Geolocation API from AWS Marketplace with a Fastah-Key header? That is the v1 API reference.