# ScriptMasterLabs Fear & Greed Index API

> ScriptMasterLabs Fear & Greed Index 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-15).

Returns the current crypto market Fear & Greed Index score and sentiment label, paid per-call in USDC via x402 protocol.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/fear-greed-index
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-fear-greed-index-api-01bfa5ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U9ZPO6rWsbTHDZfohjUkF

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-fear-greed-index-api-01bfa5ce
```

Example prompt: What's the current crypto Fear & Greed Index score right now — is the market in fear or greed?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call crypto market sentiment signal settled in USDC on Base via the x402 protocol. Ideal for agents operating in crypto-native environments that already support x402 micropayments and need a quick Fear & Greed reading without a subscription. Prefer alternatives (e.g. free public APIs like Alternative.me) if x402 payment infrastructure is not available or if you need historical data beyond what the limit parameter provides.

## Known failure modes

- Payment not settled — 402 response if USDC payment via x402 is not included or insufficient
- Network timeout from hosted Render service (cold start latency on free tier)
- Empty or malformed response schema — response schema is documented as an empty example object, so structure may be undocumented
- Rate limiting or provider downtime if underlying 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 the current Fear & Greed Index value (typically a 0–100 numeric score), a sentiment label such as 'Extreme Fear', 'Fear', 'Neutral', 'Greed', or 'Extreme Greed', and likely a timestamp. The number of results returned can be controlled via the `limit` query parameter.

## 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": {
      "limit": {
       "type": "integer",
       "default": 1,
       "example": 1
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-fear-greed-index-api-01bfa5ce/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)
