# ScriptMasterLabs Funding Rates API

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

Returns current perpetual futures funding rates for a given trading symbol, settled via x402 micropayment on Base in USDC

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/funding-rates
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-funding-rates-api-6a63eb85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bxFRtqztGjsWNrg-PJ94j

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-6a63eb85
```

Example prompt: What's the current funding rate for BTCUSDT on perpetual futures right now?

## When to prefer this

Choose this endpoint when you need real-time perpetual futures funding rate data and are operating in an x402-enabled micropayment environment on Base. It is well-suited for AI agents with USDC wallets that need low-cost, per-call access to crypto derivatives data without a subscription. Prefer this over subscription-based data providers when you want pay-as-you-go pricing at $0.001 per call.

## Known failure modes

- Invalid or unsupported symbol returns an error or empty response
- Payment failure via x402 protocol results in 402 Payment Required before data is returned
- Network timeout from the Render-hosted service if under load
- Missing 'symbol' query parameter may return a default or error response
- Rate or availability issues if the upstream exchange data source is unavailable

## 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 funding rate data for the requested trading symbol, including the current rate, direction, and associated metadata such as timestamp and exchange context. The exact response schema is minimal but expected to contain fields like symbol, fundingRate, and nextFundingTime.

## 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-6a63eb85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
