{"uid":"cap_wPhcIH2HdOiC4u7f0qoom","slug":"scriptmasterlabs-geo-cities-credit-pack-purchase-9959db5a","name":"ScriptMasterLabs Geo/Cities Credit Pack Purchase","description":"Pay-per-call APIs and a read-only provider check for x402 buyers. Inspect evidence and live terms before a caller-controlled payment; accept delivery with proof.","url":"https://scriptmasterlabs.com/api/geo/credits?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","const":"GET"},"queryParams":{"type":"object","required":[],"properties":{"pack":{"enum":["100"],"type":"string","description":"Fixed Geo/Cities credit pack size Search intents: geography api, cities data, location data, geo lookup, city lookup."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}},"additionalProperties":false}},"additionalProperties":false},"responseSchema":{"type":"json","example":{"status":"ready","credits":100,"product":"SML Geo/Cities Credit Pack","credit_token":"<issued-after-settlement>","credit_header":"X-SML-GEO-CREDIT","pack_price_usdc":"0.002","effective_price_usdc_per_successful_query":"0.00002"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gwoRMImQbam-rMIbSb-P0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a pack of 100 geo/cities lookup credits via x402 micropayment, returning a credit token for subsequent geographic queries","exampleAgentPrompt":"Buy me the 100-credit Geo/Cities pack from ScriptMasterLabs so I can run city and location lookups — go ahead and pay the $0.002 USDC and get back the credit token I'll need for queries.","exampleUseCases":[{"title":"Funding geo lookups for a travel app","prompt":"I need to do a bunch of city and location lookups for my travel app — can you purchase the 100-credit SML Geo/Cities pack for $0.002 USDC and give me the credit token to use in my requests?"},{"title":"Topping up location credits for an agent pipeline","prompt":"My agent pipeline is running low on geo credits — go ahead and buy another 100-credit pack from ScriptMasterLabs using x402 and return the new credit token and the header name I need to attach."},{"title":"Evaluating cost before geographic data project","prompt":"Before I start my geographic data enrichment project, buy the ScriptMasterLabs Geo/Cities credit pack and tell me the effective price per successful query and the credit token I'll need."}],"resultDescription":"Returns a JSON object confirming credit pack status ('ready'), the number of credits issued (100), the product name ('SML Geo/Cities Credit Pack'), a credit token string to use in subsequent geo API calls, the header name to attach it to (X-SML-GEO-CREDIT), the pack price in USDC ($0.002), and the effective per-query price in USDC ($0.00002).","failureModes":["Payment not settled — credit_token field will be placeholder until blockchain confirmation","Invalid or missing pack parameter — only '100' is accepted","x402 payment rejected — insufficient funds or wrong USDC amount","Network/provider unavailable — 5xx error from scriptmasterlabs.com","Duplicate payment detection — idempotency not guaranteed, may issue duplicate credits"],"whenToPreferThis":"Choose this endpoint when you need to prepay for geographic/city data lookups via the SML x402 micropayment system and require a credit token to authenticate subsequent geo queries. Prefer this over per-query billing alternatives when you want predictable per-query costs at $0.00002 USDC and batch usage of 100 queries. Best suited for agents that need to acquire credits programmatically before executing city or location lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:20.250Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-geo-cities-credit-pack-purchase-9959db5a"}