Skip to main content
GET
Get Rail config

Authorizations

Authorization
string
header
required

Your account's secret key: Authorization: Bearer sk_test_… or sk_live_…. Server-side only.

Query Parameters

product
string
required

Key of the product whose meters carry the Rail prices.

Response

Your account's Rail configuration.

What your server uses to charge agents on the Rail.

network
string
required

Network in CAIP-2 format: eip155:<chain id> on EVM (e.g. Base), solana:<genesis ref> on Solana. Short names like base are not accepted.

Example:

"eip155:8453"

asset
string
required

Token contract address (EVM) or mint (Solana). Never the ticker.

assetDecimals
integer
required

The token's number of decimals. Every atomic amount is read against it.

payTo
string
required

Your wallet, where the money lands.

grace
object

How much your server may serve on its own, per process, while Infi is unreachable. It is the only case where delivery happens without settlement.

facilitator
object

Whether your routes are indexed for discovery by agents (indexesForDiscovery). If not, no agent will find them by searching.

outputSchema
object

Route description your server echoes in its own 402 response.