# Prime Number Sequence Generator

> Prime Number Sequence Generator 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).

Generates a list of all prime numbers up to a specified upper limit.

## Facts

- Endpoint: POST https://sovereign-x402-zeta.vercel.app/api/v1/sequence/prime?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/prime-number-sequence-generator-06212501
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_twCxozBF7C_J2ODeFLNz9

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 prime-number-sequence-generator-06212501 -d '<json body>'
```

Example prompt: Can you generate a list of all prime numbers up to 500 for me?

## When to prefer this

Choose this endpoint when you need a complete, ordered list of all primes up to a given ceiling in a single call, rather than checking individual numbers one at a time. It is ideal for bulk prime generation tasks in math, cryptography, or educational contexts where you want all primes at once rather than iterating with a primality-check endpoint.

## Known failure modes

- Missing or invalid limit parameter — returns a 400 or error body
- Limit is zero or negative — likely returns an empty list or validation error
- Limit is extremely large — may result in timeout or performance degradation
- Malformed JSON body — returns schema validation error
- Payment not provided or insufficient — returns HTTP 402 Payment Required

## How this service works

Generate a list of prime numbers up to a specified limit.

## Output

Returns an ordered list of all prime numbers from 2 up to the specified limit, computed server-side. The response is an array of integers representing each prime in the sequence.

## 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"
    }
   },
   "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/prime-number-sequence-generator-06212501/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)
