# ScriptMasterLabs Funding Rates API (x402)

> ScriptMasterLabs Funding Rates API (x402) is a paid API for AI agents from acp-x402-scriptmasterlabs.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Returns current perpetual futures funding rates for a given trading symbol, paid per-call in USDC via x402 micropayment protocol.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/funding-rates?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-funding-rates-api-x402-8e3276c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y8Ef1lCgjLfRKnZepMbpI

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-funding-rates-api-x402-8e3276c0
```

Example prompt: What's the current perpetual futures funding rate for BTCUSDT right now? I want to know if longs or shorts are paying.

## When to prefer this

Choose this endpoint when you need real-time perpetual futures funding rate data for a specific trading symbol and want to pay per-call in USDC without a subscription. It is particularly useful for trading bots, DeFi agents, or financial analytics workflows that need lightweight, on-demand funding rate lookups with crypto-native micropayment settlement via the x402 protocol.

## Known failure modes

- Invalid or unsupported symbol returns an error or empty response
- Payment not settled via x402 results in 402 Payment Required response
- Service unavailable on Render free tier cold start causes latency or timeout
- Missing required symbol query parameter may return an error or default behavior
- Rate data may be stale if upstream exchange feed is delayed

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns the current perpetual futures funding rate for the requested symbol, including the rate value and relevant metadata such as symbol name and timestamp. The funding rate indicates whether long or short positions are paying a premium in the perpetual futures market.

## 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",
     "properties": {
      "symbol": {
       "type": "string",
       "example": "BTCUSDT"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-funding-rates-api-x402-8e3276c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
