HTTP API
No SDK required. Every API in the marketplace is reachable with a plain HTTP request and your Pikeway key, from any language or tool.
Get a key
Sign in, top up your balance, and create a key in Console → API Keys. Keys start with pk- and work for every API.
export PIKEWAY_API_KEY=pk-...
Call an API
Take the API's slug from the marketplace and append the provider's own path and query. Pikeway forwards the method, query, headers and body, and returns the provider's response as is.
curl -i "https://gw.pikeway.ai/gw/dexscreener/latest/dex/search?q=WBTC" \ -H "Authorization: Bearer $PIKEWAY_API_KEY"
Read the cost
Every response from the gateway carries headers that tell you what happened:
X-Pikeway-CoststringX-Pikeway-Call-IdstringX-Pikeway-CacheHIT | MISSTest for free with mock
Replace /gw/ with /mock/ to get the endpoint's example response without calling the provider. No key, no charge, limited to 30 requests a minute per IP.
curl "https://gw.pikeway.ai/mock/dexscreener/latest/dex/search?q=WBTC"
Let the gateway pick the endpoint
If you don't know which API to call, the agent endpoints do the discover → inspect → run loop over HTTP. Discover and inspect are free and need no key.
curl -X POST https://gw.pikeway.ai/v1/discover -H "Content-Type: application/json" \
-d '{"query":"token price on solana","limit":3}'
curl -X POST https://gw.pikeway.ai/v1/inspect -H "Content-Type: application/json" \
-d '{"provider":"birdeye","endpoint":"/defi/price"}'
curl -X POST https://gw.pikeway.ai/v1/run -H "Content-Type: application/json" \
-H "Authorization: Bearer $PIKEWAY_API_KEY" \
-d '{"provider":"birdeye","endpoint":"/defi/price","input":{"address":"So11111111111111111111111111111111111111112"}}'