Discover resources
Changed onDiscover payable x402 compatible services and HTTP endpoints that can be paid for using the fetchWithPayment tool. Use this tool to browse services, APIs and endpoints to find what you need for your tasks. Each item has a resource url that you can call with the fetchWithPayment tool. The listing aggregates the public discovery feeds of several x402 facilitators; metadata.source names the feed an item came from. Price is in the base units of the asset. For example, if the price is 1000000 and the asset is USDC (which is the default and has 6 decimals), the price is 1 USDC. Examples: if network is eip155:8453, asset is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, max amount required is 10000, resource is https://api.example.com/paid-api, then the price is 0.01 USDC on Base mainnet.
Request
- Base URLhttps://api.thirdweb.com
- AuthAPI key in header x-client-id
Query parameters
Response
List of discovered x402 resources
Example response
{
"items": [
{
"accepts": [
{
"network": "eip155:1"
}
]
}
]
}Changes
- breaking
the
////response's property type changed from no type tostringfor status - breaking
the
////response's property type changed from no type tostringfor status - info
added the new optional
queryrequest parameterincludeTestnets - info
removed
subschema #1subschema #2from the////response propertyanyOflist for the response status - info
removed
subschema #1subschema #2from the////response propertyanyOflist for the response status
- breaking