# SCRIPTMASTERLABS FX Credits Pack Purchase

> SCRIPTMASTERLABS FX Credits Pack Purchase is a paid API for AI agents from scriptmasterlabs.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Purchase a 100-conversion FX credit pack for $0.005 USDC via x402 pay-per-call, enabling subsequent foreign exchange rate conversions.

## Facts

- Endpoint: GET https://scriptmasterlabs.com/api/fx/credits?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-fx-credits-pack-purchase-1eba7bca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QH4YEsoDITZP8wIWcS0Ne

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scriptmasterlabs-fx-credits-pack-purchase-1eba7bca
```

Example prompt: Buy me a 100-conversion FX credit pack from SCRIPTMASTERLABS so I can start running currency conversions — pay the $0.005 USDC via x402.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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').

## Request schema (JSON Schema)

```json
{
 "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
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready",
  "credits": 100,
  "product": "SML FX Credit Pack",
  "credit_header": "X-SML-FX-CREDIT",
  "pack_price_usdc": "0.005"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-fx-credits-pack-purchase-1eba7bca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scriptmasterlabs.com](https://www.zero.xyz/host/scriptmasterlabs.com/llms.txt)
