# Numora Sequence Generation API

> Numora Sequence Generation API is a paid API for AI agents from numormor.netlify.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Generates mathematical sequences of length n using a user-defined recurrence rule and optional initial values

## Facts

- Endpoint: POST https://numormor.netlify.app/api/generate/sequence
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-sequence-generation-api-a010362c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KYSX5C6WEnUHclZM5mkgh

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 numora-sequence-generation-api-a010362c -d '<json body>'
```

Example prompt: Generate the first 25 terms of the sequence defined by the recurrence rule a[n] = 2*a[n-1] + 1, starting with initial values [1, 3].

## When to prefer this

Use this endpoint when you need to programmatically generate terms of a sequence defined by a custom recurrence relation, especially when the rule involves prior terms (e.g., a[n] = f(a[n-1], a[n-2])). It is better than manual computation or general-purpose code execution when you want a lightweight, zero-dependency math API call with micropayment billing per use.

## Known failure modes

- Invalid or unparseable recurrence rule string — API may return error or unexpected output
- n is too large, causing timeout or resource exhaustion
- initial values array has insufficient elements to bootstrap the recurrence
- Malformed JSON body — returns 400 or similar error
- Division by zero or undefined operation in the recurrence rule

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with success: true, a result object containing the generated sequence terms, and a computation string describing what was computed in human-readable form.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "n",
  "rule"
 ],
 "properties": {
  "n": {
   "type": "integer"
  },
  "rule": {
   "type": "string",
   "description": "Recurrence rule (e.g., 'a[n] = 2*a[n-1] + 1')"
  },
  "initial": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-sequence-generation-api-a010362c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormor.netlify.app](https://www.zero.xyz/host/numormor.netlify.app/llms.txt)
