API Configuration
Example
Response
Response Fields
Schema Fields Explained
This schema follows the Location Protocol v0.2 specification. Verification is in progress — see Location Records for details.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Supported chains and schema information
GET /api/v0/config
curl "https://api.astral.global/api/v0/config"
{
"chains": {
"base-sepolia": true,
"sepolia": true,
"arbitrum": true,
"celo": true,
"base": false
},
"schema": "0xba4171c92572b1e4f241d044c32cdf083be9fd946b8766977558ca6378c824e2",
"schema_fields": "uint256 eventTimestamp,string srs,string locationType,string location,string[] recipeType,bytes[] recipePayload,string[] mediaType,string[] mediaData,string memo",
"version": "v0"
}
| Field | Type | Description |
|---|---|---|
chains | object | Supported chains and their active status |
schema | string | EAS schema UID for location attestations |
schema_fields | string | Schema field definitions |
version | string | API version |
| Field | Type | Description |
|---|---|---|
eventTimestamp | uint256 | Unix timestamp of the location event |
srs | string | Spatial reference system (e.g., “EPSG:4326”) |
locationType | string | Format identifier (e.g., “geojson-point”) |
location | string | Stringified location data |
recipeType | string[] | Location derivation methods |
recipePayload | bytes[] | Method-specific data |
mediaType | string[] | MIME types of attached media |
mediaData | string[] | Base64-encoded media |
memo | string | Optional description |