# ScriptMasterLabs FTD ETF Basket API

> ScriptMasterLabs FTD ETF Basket API is a paid API for AI agents from mcp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the constituent holdings or basket composition data for a specified ETF (XRT, IWM, IJR, or KRE) via pay-per-call x402 micropayment

## Facts

- Endpoint: GET https://mcp-x402-discovery.onrender.com/x402/ftd-etf-basket
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-ftd-etf-basket-api-5f7f980c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HyDetCX-jEaJCXasZdrHs

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-ftd-etf-basket-api-5f7f980c
```

Example prompt: What are the current basket holdings for the XRT retail ETF?

## When to prefer this

Use this endpoint when you need on-demand ETF basket/constituent data for one of the four supported tickers (XRT, IWM, IJR, KRE) and prefer a micropayment-based pay-per-call model over a subscription. Ideal for agents that only occasionally need ETF composition data and want to pay $0.001 USDC per query via x402 on Base rather than maintaining a traditional API subscription.

## Known failure modes

- Invalid or unsupported ETF ticker returns an error (only XRT, IWM, IJR, KRE are accepted)
- Missing payment header returns HTTP 402 Payment Required unless a valid X-Api-Market-Key or X-API-Key is provided
- Service unavailable on Render free tier cold start causing timeout
- Malformed query parameter returns validation error
- Empty or incomplete basket data if upstream source is stale

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

Returns the basket composition or constituent holdings data for the requested ETF ticker (XRT, IWM, IJR, or KRE), likely including security names, weights, or share counts making up the fund's portfolio.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "etf"
     ],
     "properties": {
      "etf": {
       "type": "string",
       "description": "ETF ticker (XRT, IWM, IJR, KRE)."
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-ftd-etf-basket-api-5f7f980c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402-discovery.onrender.com](https://www.zero.xyz/host/mcp-x402-discovery.onrender.com/llms.txt)
