List supported networks
Returns every network Knit supports, the tokens available on each, and whether collections and payouts are currently enabled for them.
Availability changes. A chain can be paused for payouts while still accepting collections, and individual tokens can be toggled independently of their network. Read this endpoint at startup or on a schedule rather than hardcoding a list.
Request
No authentication is required.
curl "https://api-prod.useknit.io/api/v1/networks" \
-H "Accept: application/json"Response
{
"statusCode": 200,
"message": "Networks fetched successfully",
"data": [
{
"id": 2,
"name": "Polygon",
"identifier": "MATIC_MAINNET",
"logo": "https://demo.useknit.io/coins/polygon.svg",
"collectionStatus": "ACTIVE",
"payoutStatus": "ACTIVE",
"tokens": [
{
"id": 1,
"name": "USDT",
"symbol": "USDT",
"logo": "https://demo.useknit.io/coins/usdt.svg",
"address": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
"collectionStatus": "ACTIVE",
"payoutStatus": "ACTIVE"
},
{
"id": 2,
"name": "USDC",
"symbol": "USDC",
"logo": "https://demo.useknit.io/coins/usdc.svg",
"address": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
"collectionStatus": "ACTIVE",
"payoutStatus": "ACTIVE"
}
]
},
{
"id": 1,
"name": "Ethereum (ERC 20)",
"identifier": "ETHEREUM_MAINNET",
"logo": "https://demo.useknit.io/coins/ethereum.svg",
"collectionStatus": "ACTIVE",
"payoutStatus": "INACTIVE",
"tokens": [
{
"id": 1,
"name": "USDT",
"symbol": "USDT",
"logo": "https://demo.useknit.io/coins/usdt.svg",
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"collectionStatus": "ACTIVE",
"payoutStatus": "INACTIVE"
}
]
}
],
"success": true
}Fields
The value to send as network in every other request — for example
MATIC_MAINNET. Use this, not name.
A display label for your UI.
ACTIVE or INACTIVE. Whether
collections can be created on this
network.
ACTIVE or INACTIVE. Whether
payouts can be sent on this network.
The tokens on this network, each with its own collectionStatus and
payoutStatus. A token can be inactive on an otherwise active network — so
check both levels.
The token's contract address on that chain.
Use this endpoint to drive the network and token pickers in your product. It keeps your UI in step with what the API will actually accept, and avoids showing customers an option that will fail at submission.
Errors
| Status | Cause |
|---|---|
400 | The network list could not be retrieved. Retry with backoff |