# Fibonacci Sequence Calculator

> Fibonacci Sequence Calculator is a paid API for AI agents from sovereign-x402-zeta.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Calculates the Fibonacci sequence up to a specified number of terms (N) and returns the full sequence.

## Facts

- Endpoint: POST https://sovereign-x402-zeta.vercel.app/calculate_fibonacci/:limit?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/fibonacci-sequence-calculator-9e2a16dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J20aHKbPEDEeYKwmeOsx6

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 fibonacci-sequence-calculator-9e2a16dc -d '<json body>'
```

Example prompt: Calculate the Fibonacci sequence for the first 20 terms.

## When to prefer this

Choose this endpoint when you need the full list of Fibonacci numbers up to N terms in a single call, rather than generating the next Fibonacci pair incrementally (see the sibling next-pair endpoint). Best for cases where you want the entire sequence enumerated at once.

## Known failure modes

- Missing or invalid 'limit' parameter returns an error
- Extremely large N values may cause slow response or timeout
- Non-integer or negative limit values likely return a validation error
- Payment failure (402) if USDC balance is insufficient

## How this service works

Calculate the Fibonacci sequence up to N terms.

## Output

Returns the complete Fibonacci sequence as an ordered list of integers up to the specified number of terms N, starting from the standard F(0)=0 and F(1)=1 base cases.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fibonacci-sequence-calculator-9e2a16dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sovereign-x402-zeta.vercel.app](https://www.zero.xyz/host/sovereign-x402-zeta.vercel.app/llms.txt)
