Postman Collection
Import our pre-built collection to test all 966 endpoints in Postman.
Quick Importโ
Option 1: Download JSONโ
- Download the collection: Web3-Identity-API.postman_collection.json
- Open Postman
- Click Import โ Upload Files
- Select the downloaded JSON file
- Start testing!
Option 2: Import from URLโ
- Open Postman
- Click Import โ Link
- Paste:
https://api.web3identity.com/postman/Web3-Identity-API.postman_collection.json - Click Continue โ Import
What's Includedโ
The collection includes all 966 endpoints organized by category:
| Category | Endpoints | Examples |
|---|---|---|
| ENS | 25+ | Resolve names, get profiles, check availability |
| Farcaster | 25+ | Profiles, casts, channels, followers |
| DeFi | 80+ | TVL, yields, protocols, stablecoins |
| Prices | 45+ | Token prices, market data, batch queries |
| Wallet | 20+ | Balances, transactions, NFTs |
| Security | 15+ | Risk scores, contract verification |
| L2 | 25+ | Layer 2 data, gas prices, bridges |
| Utilities | 20+ | Conversions, QR codes, health |
Environment Setupโ
Create a Postman environment with these variables:
| Variable | Value | Description |
|---|---|---|
baseUrl | https://api.web3identity.com | API base URL |
testAddress | 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 | Vitalik's address |
testENS | vitalik.eth | Test ENS name |
testFID | 3 | Farcaster ID (Dan Romero) |
Example Requestsโ
ENS Resolutionโ
GET {{baseUrl}}/api/ens/resolve/{{testENS}}
Response:
{
"name": "vitalik.eth",
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
Token Priceโ
GET {{baseUrl}}/api/price/ETH
Response:
{
"symbol": "ETH",
"price": 2847.32,
"change24h": 2.4,
"source": "coingecko"
}
Farcaster Profileโ
GET {{baseUrl}}/api/farcaster/dwr.eth
Testing x402 Paymentsโ
For paid endpoints (after free tier), Postman will receive a 402 Payment Required response:
{
"status": 402,
"message": "Payment Required",
"paymentDetails": {
"scheme": "x402",
"network": "base",
"maxAmountRequired": "1000",
"resource": "/api/ens/vitalik.eth"
}
}
To test paid requests, use our SDK or implement x402 payment signing.
Importing to Insomniaโ
The collection also works with Insomnia:
- Open Insomnia
- Go to Application โ Preferences โ Data
- Click Import Data โ From File
- Select the Postman collection JSON
- Insomnia auto-converts the format
OpenAPI Specโ
Prefer OpenAPI? Import directly:
- YAML:
https://api.web3identity.com/openapi.yaml - JSON:
https://api.web3identity.com/openapi.json
Need Help?โ
- ๐ Full Documentation
- ๐ง Swagger UI
- ๐ฆ npm SDK
- โ๏ธ Contact