Starchild Relay
Give any agent access to reputable data APIs through one x402 payment flow, without managing a separate API key for every provider.
Overview
| Data sources | 17 |
| Networks | Base (eip155:8453), Monad (eip155:143), Robinhood Chain (eip155:4663), and X Layer (eip155:196) |
| Settlement assets | USDC on Base, Monad, and X Layer; USDG on Robinhood Chain |
| Minimum deposit | $1.00 in the selected settlement asset |
| Per-call pricing | $0.0002 to $0.01, depending on source |
| Base URL | https://community.iamstarchild.com/5108-data-api-proxy/ |
What Relay is
Starchild Relay is a multi-source data proxy built for agent workflows. An agent sends requests through one gateway while Relay routes each request to the selected provider. It works with agents built on Starchild and with agents running on other frameworks or infrastructure.
Instead of opening and maintaining separate accounts with every provider, an agent can access all 17 sources through one prepaid stablecoin balance. Relay manages the upstream provider credentials. The calling agent uses the x402 payment flow rather than a provider API key.
What it connects to
Relay covers crypto spot and derivatives, stocks, forex, commodities, US options, DeFi and onchain analytics, technical indicators, social data, web search and scraping, creator data, maps, and China A-shares.
| Category | Sources |
|---|---|
| Markets | CoinGecko, CoinGlass, Twelve Data, Massive, TAAPI |
| DeFi and onchain | Birdeye, DeBank, DefiLlama, 1inch |
| Web and social | Brave Search, Firecrawl, Apify, TwitterAPI.io, ScrapeCreators, LunarCrush |
| Other | Google Maps, Tushare |
How requests work
Relay is a transparent proxy. Add the source name before the provider's native API path:
https://community.iamstarchild.com/5108-data-api-proxy/{source}/{provider-path}
Request methods, parameters, and response formats follow the upstream provider's API wherever possible. For example:
GET https://community.iamstarchild.com/5108-data-api-proxy/coingecko/api/v3/simple/price?ids=bitcoin&vs_currencies=usd
An unpaid request returns an HTTP 402 response containing the payment requirements. An x402-capable client signs the authorization and retries the request with the payment payload. Relay credits the prepaid balance, deducts the source-specific call cost, and returns the upstream response.
How payment works
Relay uses a prepaid x402 model:
- Send a request to a Relay endpoint.
- Receive an HTTP
402challenge with the accepted network, asset, recipient, and deposit requirement. - Sign the authorization for the selected settlement asset and retry using an x402-compatible client.
- Relay credits the prepaid balance and deducts each successful call at the source-specific rate.
- Future requests continue using the balance until it needs to be topped up.
The minimum deposit currently advertised by Relay's live x402 discovery document is $1.00 in the selected settlement asset. Individual calls cost between $0.0002 and $0.01.
Who it is for
Relay is for builders who need agents to fetch reliable external data without distributing provider credentials or maintaining separate billing integrations. The calling agent does not need to be a Starchild agent. Any agent or application that can make HTTP requests and complete the x402 flow can connect.
Data sources and pricing
| Source | Coverage | Route | Per call |
|---|---|---|---|
| Twelve Data | Stocks, forex, commodities | /twelvedata/* |
$0.0002 |
| Massive | US options data | /massive/* |
$0.0002 |
| TwitterAPI.io | X posts, search, profiles | /twitterapi/* |
$0.00045 |
| CoinGecko | Crypto spot prices, OHLC, market cap | /coingecko/* |
$0.0005 |
| CoinGlass | Funding rates, open interest, liquidations | /coinglass/* |
$0.0005 |
| TAAPI | Technical indicators | /taapi/* |
$0.0005 |
| DefiLlama | TVL, yields, protocol statistics | /defillama/* |
$0.001 |
| 1inch | DEX pricing and swap routes | /oneinch/* |
$0.001 |
| LunarCrush | Crypto social intelligence | /lunarcrush/* |
$0.001 |
| Tushare | China A-share market data | /tushare/* |
$0.001 |
| Firecrawl | Web extraction and crawling | /firecrawl/* |
$0.003 |
| ScrapeCreators | YouTube, TikTok, Instagram data | /scrapecreators/* |
$0.004 |
| Google Maps | Geocoding and places | /googlemaps/* |
$0.00566 |
| Brave Search | Web search | /brave/* |
$0.01 |
| Birdeye | Solana and EVM token analytics | /birdeye/* |
$0.01 |
| DeBank | Wallet portfolios and DeFi data | /debank/* |
$0.01 |
| Apify | Web automation and datasets | /apify/* |
$0.01 |
Pricing is deducted from the prepaid balance. Read the live x402 challenge before authorizing a payment, since service configuration may change.
Calling Relay
Use an x402-compatible HTTP client that supports EVM stablecoin authorizations. The exact client initialization depends on the library and version you choose, but the request target remains the same.
Inspect the payment challenge
curl -i \
"https://community.iamstarchild.com/5108-data-api-proxy/coingecko/api/v3/simple/price?ids=bitcoin&vs_currencies=usd"
The response should have status 402 Payment Required and describe the accepted payment options. Your x402 client signs the selected authorization and retries the same URL with the required payment header.
Proxy pattern
GET|POST https://community.iamstarchild.com/5108-data-api-proxy/{source}/{provider-path}
Both GET and POST routes are advertised for all 17 sources. Relay's OpenAPI specification also describes generic proxy support for other HTTP methods where the upstream allows them.
Treasury and settlement
| Parameter | Value |
|---|---|
| Model | Prepaid |
| Minimum deposit | $1.00 in the selected settlement asset, according to live discovery |
| Networks | Base, Monad, Robinhood Chain, and X Layer |
| Facilitator | https://starchild-x402-facilitator.fly.dev |
| Treasury wallet | 0xa709b6534f392c5F4CfB986A329B734eCDdC8c6f |
Supported assets
| Network | CAIP-2 network ID | Settlement asset contract |
|---|---|---|
| Base | eip155:8453 |
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
| Monad | eip155:143 |
0x754704bc059f8c67012fed69bc8a327a5aafb603 |
| Robinhood Chain | eip155:4663 |
Read from the live 402 challenge |
| X Layer | eip155:196 |
0x74b7f16337b8972027f6196a17a631ac6de26d22 |
Robinhood Chain uses USDG for Relay settlement. Its asset contract is intentionally not hard-coded here because it is not currently present in Relay's public discovery document. Verify the network, asset contract, recipient, and amount against the live 402 response before signing.
Machine-readable discovery
| Document | URL |
|---|---|
| x402 discovery | https://community.iamstarchild.com/5108-data-api-proxy/.well-known/x402 |
| OpenAPI specification | https://community.iamstarchild.com/5108-data-api-proxy/openapi.json |
The x402 discovery document advertises the supported networks, recipient, facilitator, routes, and prepaid payment parameters. The OpenAPI specification describes gateway management endpoints and provider proxy routes.
Notes for agents
- Keep the source prefix in the path, such as
/coingecko/or/brave/. - Preserve the provider's native path, query parameters, request body, and method after the source prefix.
- Treat
402 Payment Requiredas the start of the payment flow, rather than an API error. - No upstream provider API key is required from the calling agent.
- Use the trailing slash in the base URL when constructing relative paths.
- Read the live challenge before signing because pricing and supported payment options can change.