{"uid":"cap_QH4YEsoDITZP8wIWcS0Ne","slug":"scriptmasterlabs-fx-credits-pack-purchase-1eba7bca","name":"SCRIPTMASTERLABS FX Credits 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/fx/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 100-conversion credit pack Search intents: currency conversion, fx credits, fx rates, foreign exchange, ecb rates."}},"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 FX Credit Pack","credit_header":"X-SML-FX-CREDIT","pack_price_usdc":"0.005"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mWJQHil2bjkQSa13n86k7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase a 100-conversion FX credit pack for $0.005 USDC via x402 pay-per-call, enabling subsequent foreign exchange rate conversions.","exampleAgentPrompt":"Buy me a 100-conversion FX credit pack from SCRIPTMASTERLABS so I can start running currency conversions — pay the $0.005 USDC via x402.","exampleUseCases":[{"title":"Fund agent FX conversion budget","prompt":"Top up my currency conversion credits with a 100-pack from SCRIPTMASTERLABS — I need to start converting exchange rates and I'm out of credits."},{"title":"Bootstrap new FX pipeline","prompt":"I'm setting up an automated FX pipeline and need to buy a 100-credit SML FX pack to get started — go ahead and pay the $0.005 USDC for it."},{"title":"Replenish depleted credit balance","prompt":"My SCRIPTMASTERLABS FX credits ran out — can you purchase another 100-conversion pack so my currency rate lookups can resume?"}],"resultDescription":"A JSON object confirming the purchase with status 'ready', the number of credits granted (100), the product name ('SML FX Credit Pack'), the credit header key to use for subsequent calls ('X-SML-FX-CREDIT'), and the pack price in USDC ('0.005').","failureModes":["Payment rejected or insufficient USDC balance — x402 payment not accepted","Invalid or missing payment header — 402 response with no credit issued","Unsupported pack value (only '100' is valid) — request rejected","Network/service unavailability — 5xx error with no credits delivered","Double-payment race condition — credits may not be doubled if request is retried"],"whenToPreferThis":"Choose this endpoint when you need to acquire FX conversion credits from SCRIPTMASTERLABS before making currency rate lookup calls. This is specifically the credit-purchase step in the x402 pay-per-call flow, not the conversion itself. Use it when your credit balance is zero or exhausted and you need to fund subsequent ECB/foreign exchange rate API calls on this platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:41:09.431Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-fx-credits-pack-purchase-1eba7bca"}