Gilito AIDocs

Quick Start

Make your first API call in seconds. You'll need an API key — see Authentication to get one.

Fetch all assets
curl "https://api.gilito.ai/api/v1/market-data/assets" \
  -H "Authorization: Bearer YOUR_API_KEY"

Base URL

All API requests should be made to:

https://api.gilito.ai/api/v1

Response Format

All responses return JSON. Single resources are wrapped in data. Lists include optional pagination metadata.

Response structure
// Single resource
{
  "data": { "id": "...", "symbol": "AAPL", ... }
}

// List with pagination
{
  "data": [ ... ],
  "meta": { "total": 500, "page": 1, "limit": 50 }
}

Errors

Errors follow a consistent structure with an error code and message.

Error response
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key."
  }
}