{"service":"BasePrice","version":"2.0.0","x402Version":2,"description":"Returns observed Base token USD price with provider and liquidity provenance.; Returns an indicative token conversion from live USD prices; not an executable swap quote.","network":"eip155:8453","payee":"0xb5aFc89b57Fa8270bB7261348179D28099BEa2a0","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","price_usdc":"0.01","provenance":{"type":"self_declared","ownership_verified":false},"resources":[{"resource":"https://baseprice-x402.vercel.app/v1/price","type":"http","method":"GET","path":"/v1/price","x402Version":2,"description":"Returns observed Base token USD price with provider and liquidity provenance.","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","payTo":"0xb5aFc89b57Fa8270bB7261348179D28099BEa2a0","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2","assetTransferMethod":"eip3009"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"token":"WETH","quote":"USD"}},"output":{"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"token":{"default":"WETH","description":"Known symbol or EVM address","maxLength":42,"minLength":1,"title":"Token","type":"string"},"quote":{"default":"USD","enum":["USD","USDC"],"title":"Quote","type":"string"}},"title":"PriceRequest","type":"object"}},"required":["type","method","queryParams"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"const":"json"},"example":{"type":"object","properties":{"success":{"type":"boolean"},"price_usd":{"type":"number"},"network":{"const":"base-mainnet"},"token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"name":{"type":["string","null"]},"decimals":{"type":["integer","null"],"minimum":0,"maximum":255}},"required":["address","symbol"]},"quote_currency":{"enum":["USD","USDC"]},"price_in_quote":{"type":"number"},"quote_source":{"type":"string"},"source":{"type":"string"},"source_timestamp":{"type":["string","null"],"format":"date-time"},"dex":{"type":["string","null"]},"pair_address":{"type":["string","null"]},"liquidity_usd":{"type":["number","null"],"minimum":0},"volume_24h_usd":{"type":["number","null"],"minimum":0},"price_change_24h_pct":{"type":["number","null"]},"fetched_at":{"type":"string","format":"date-time"},"timestamp":{"type":"string","format":"date-time"}},"required":["success","price_usd","token","source","fetched_at"]}}}}}}},"inputSchema":{"properties":{"token":{"default":"WETH","description":"Known symbol or EVM address","maxLength":42,"minLength":1,"title":"Token","type":"string"},"quote":{"default":"USD","enum":["USD","USDC"],"title":"Quote","type":"string"}},"title":"PriceRequest","type":"object"},"outputSchema":{"type":"object","properties":{"success":{"type":"boolean"},"price_usd":{"type":"number"},"network":{"const":"base-mainnet"},"token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"name":{"type":["string","null"]},"decimals":{"type":["integer","null"],"minimum":0,"maximum":255}},"required":["address","symbol"]},"quote_currency":{"enum":["USD","USDC"]},"price_in_quote":{"type":"number"},"quote_source":{"type":"string"},"source":{"type":"string"},"source_timestamp":{"type":["string","null"],"format":"date-time"},"dex":{"type":["string","null"]},"pair_address":{"type":["string","null"]},"liquidity_usd":{"type":["number","null"],"minimum":0},"volume_24h_usd":{"type":["number","null"],"minimum":0},"price_change_24h_pct":{"type":["number","null"]},"fetched_at":{"type":"string","format":"date-time"},"timestamp":{"type":"string","format":"date-time"}},"required":["success","price_usd","token","source","fetched_at"]}},{"resource":"https://baseprice-x402.vercel.app/v1/quote","type":"http","method":"GET","path":"/v1/quote","x402Version":2,"description":"Returns an indicative token conversion from live USD prices; not an executable swap quote.","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","payTo":"0xb5aFc89b57Fa8270bB7261348179D28099BEa2a0","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2","assetTransferMethod":"eip3009"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"from_token":"WETH","to_token":"USDC","amount":"1"}},"output":{"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"from_token":{"default":"WETH","maxLength":42,"minLength":1,"title":"From Token","type":"string"},"to_token":{"default":"USDC","maxLength":42,"minLength":1,"title":"To Token","type":"string"},"amount":{"anyOf":[{"exclusiveMinimum":0.0,"maximum":1000000000000.0,"type":"number"},{"type":"string"}],"default":"1","title":"Amount"}},"title":"QuoteRequest","type":"object"}},"required":["type","method","queryParams"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"const":"json"},"example":{"type":"object","properties":{"success":{"type":"boolean"},"quote_type":{"const":"indicative"},"executable":{"const":false},"expected_out":{"type":"number"},"network":{"const":"base-mainnet"},"from_token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"price_usd":{"type":"number","exclusiveMinimum":0},"source":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"}},"required":["address","symbol","price_usd","source","fetched_at"]},"to_token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"price_usd":{"type":"number","exclusiveMinimum":0},"source":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"}},"required":["address","symbol","price_usd","source","fetched_at"]},"amount_in":{"type":"number","exclusiveMinimum":0,"maximum":1000000000000},"execution_rate":{"type":"number","description":"Legacy name for the indicative rate."},"indicative_rate":{"type":"number"},"estimated_price_impact_pct":{"type":["number","null"],"minimum":0},"limitations":{"type":"array","items":{"type":"string"}},"timestamp":{"type":"string","format":"date-time"}},"required":["success","quote_type","executable","expected_out"]}}}}}}},"inputSchema":{"properties":{"from_token":{"default":"WETH","maxLength":42,"minLength":1,"title":"From Token","type":"string"},"to_token":{"default":"USDC","maxLength":42,"minLength":1,"title":"To Token","type":"string"},"amount":{"anyOf":[{"exclusiveMinimum":0.0,"maximum":1000000000000.0,"type":"number"},{"type":"string"}],"default":"1","title":"Amount"}},"title":"QuoteRequest","type":"object"},"outputSchema":{"type":"object","properties":{"success":{"type":"boolean"},"quote_type":{"const":"indicative"},"executable":{"const":false},"expected_out":{"type":"number"},"network":{"const":"base-mainnet"},"from_token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"price_usd":{"type":"number","exclusiveMinimum":0},"source":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"}},"required":["address","symbol","price_usd","source","fetched_at"]},"to_token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"price_usd":{"type":"number","exclusiveMinimum":0},"source":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"}},"required":["address","symbol","price_usd","source","fetched_at"]},"amount_in":{"type":"number","exclusiveMinimum":0,"maximum":1000000000000},"execution_rate":{"type":"number","description":"Legacy name for the indicative rate."},"indicative_rate":{"type":"number"},"estimated_price_impact_pct":{"type":["number","null"],"minimum":0},"limitations":{"type":"array","items":{"type":"string"}},"timestamp":{"type":"string","format":"date-time"}},"required":["success","quote_type","executable","expected_out"]}}]}