API reference
Astral provides two REST APIs for working with location proofs and geospatial data:The Records API (query location attestations across chains) is not yet integrated into the service. See the roadmap for timeline.
Verify API
Verify stamps, evaluate proofs, list plugins
Compute API
Distance, containment, proximity checks with signed attestations
Base URLs
Authentication
The hosted staging service is currently open: the public tier needs no API key. Supplying an API key as a header raises your rate limit:Rate limits
Rate-limit tiers are an evolving part of the Research Preview. The public tier is open today; authenticated tiers are being rolled out.
Input types
All compute endpoints accept geometry inputs in these formats:
See Input for the full type definition.
Response format
Numeric operations (distance, area, length)
Boolean operations (contains, within, intersects)
Same shape, butresult is true/false and there is no units field.
Error format
Errors follow RFC 7807 (Problem Details for HTTP APIs):Error types
Chain configuration
The Attester Address is the address that signs delegated attestations. Resolver contracts must verify attestations come from this address.Endpoints
Verify API
POST /verify/v0/stamp
Verify a single stamp’s internal validity
POST /verify/v0/proof
Verify a proof with cross-correlation analysis
GET /verify/v0/plugins
List available verification plugins
Compute API
POST /compute/v0/distance
Distance between two geometries
POST /compute/v0/area
Area of a polygon
POST /compute/v0/length
Length of a line
POST /compute/v0/contains
Is geometry B inside geometry A?
POST /compute/v0/within
Is point within radius of target?
POST /compute/v0/intersects
Do geometries overlap?