# Constellation Shapes API

> Constellation Shapes API is a paid API for AI agents from constellation-shapes-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the geometric shape of a named constellation as a set of line segments in normalized 0-1 coordinate space

## Facts

- Endpoint: POST https://constellation-shapes-production.up.railway.app/entrypoints/get-shape/invoke
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/constellation-shapes-production-up-railway-app-896f0ffa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o0dj7Fq9wmo-jN4evd5yv

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 constellation-shapes-production-up-railway-app-896f0ffa -d '<json body>'
```

Example prompt: Can you get me the line segment shape data for the Orion constellation in normalized coordinates so I can draw it on a canvas?

## When to prefer this

Use this endpoint when you need structured, normalized geometric data for rendering or analyzing a specific constellation's shape as connected line segments. Ideal for building star maps, educational astronomy visualizers, or any application that needs precise positional data for constellation outlines in a consistent coordinate system.

## Known failure modes

- Unknown or misspelled constellation name returns an error or empty result
- Invalid or missing name parameter causes a 400 bad request
- Network or server downtime on the Railway-hosted service
- Payment failure via x402 protocol blocks the request

## How this service works

Returns a constellation's shape as line segments in 0-1 normalized coordinates via a GET request with a name parameter.

## Output

A set of line segments representing the constellation's shape, with all coordinate values normalized to the 0-1 range, suitable for rendering or further geometric processing.

## Example request

```json
{
 "input": {
  "name": "Orion"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/constellation-shapes-production-up-railway-app-896f0ffa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from constellation-shapes-production.up.railway.app](https://www.zero.xyz/host/constellation-shapes-production.up.railway.app/llms.txt)
