Skip to main content

Postman Collection

Import our pre-built collection to test all 966 endpoints in Postman.


Quick Importโ€‹

Option 1: Download JSONโ€‹

  1. Download the collection: Web3-Identity-API.postman_collection.json
  2. Open Postman
  3. Click Import โ†’ Upload Files
  4. Select the downloaded JSON file
  5. Start testing!

Option 2: Import from URLโ€‹

  1. Open Postman
  2. Click Import โ†’ Link
  3. Paste: https://api.web3identity.com/postman/Web3-Identity-API.postman_collection.json
  4. Click Continue โ†’ Import

What's Includedโ€‹

The collection includes all 966 endpoints organized by category:

CategoryEndpointsExamples
ENS25+Resolve names, get profiles, check availability
Farcaster25+Profiles, casts, channels, followers
DeFi80+TVL, yields, protocols, stablecoins
Prices45+Token prices, market data, batch queries
Wallet20+Balances, transactions, NFTs
Security15+Risk scores, contract verification
L225+Layer 2 data, gas prices, bridges
Utilities20+Conversions, QR codes, health

Environment Setupโ€‹

Create a Postman environment with these variables:

VariableValueDescription
baseUrlhttps://api.web3identity.comAPI base URL
testAddress0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045Vitalik's address
testENSvitalik.ethTest ENS name
testFID3Farcaster 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:

  1. Open Insomnia
  2. Go to Application โ†’ Preferences โ†’ Data
  3. Click Import Data โ†’ From File
  4. Select the Postman collection JSON
  5. 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?โ€‹