{"uid":"cap_ORb45x6oUGeuZSMVPqNiQ","slug":"beggar-bot-v1-units-base-mainnet-unit-lookup-c8a4ecfe","name":"Beggar Bot /v1/units – Base Mainnet Unit Lookup","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/units?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O8I0iVa5o3qAW2-0k2_Ye","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns unit/denomination information for tokens on Base mainnet (defaults to USDC), useful for normalizing on-chain amounts","exampleAgentPrompt":"What are the unit decimals and denomination info for USDC on Base mainnet — I need to know how to convert a raw on-chain amount to a human-readable dollar figure?","exampleUseCases":[{"title":"Normalize raw USDC transfer amount","prompt":"I just saw a USDC transfer of 1000000 raw units on Base mainnet — can you look up the USDC token units so I can convert that to the actual dollar amount?"},{"title":"Verify token decimals before swap","prompt":"Before I build a swap transaction on Base, can you fetch the unit and decimal info for USDC at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 so I know I'm scaling amounts correctly?"},{"title":"Compare token units across networks","prompt":"Can you get the USDC unit info on Base Sepolia so I can check whether the decimals match what Base mainnet uses before I deploy my testnet contract?"}],"resultDescription":"Returns JSON containing unit/denomination metadata for the requested token on Base mainnet (or Base Sepolia if specified), including decimal precision and other token properties needed to interpret raw on-chain values.","failureModes":["Invalid or unrecognized token address returns an error or empty result","Unsupported network parameter causes a lookup failure","Payment not completed via x402 results in 402 Payment Required response","Malformed properties query string may return unexpected fields or error","Rate limiting or Cloudflare Worker timeout under high load"],"whenToPreferThis":"Use this endpoint when you need authoritative unit and decimal information for USDC or other tokens on Base mainnet or Base Sepolia, especially when you need to normalize raw on-chain amounts to human-readable values and want a paid, reliable, on-chain-verified source rather than a static lookup table.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:44:14.473Z","isFirstParty":false,"canonicalSlug":"beggar-bot-v1-units-base-mainnet-unit-lookup-c8a4ecfe"}