Assets
Retrieve information about tradeable instruments — stocks, ETFs, FX pairs, crypto, and commodities.
GET
/api/v1/market-data/assetsReturns a list of all available assets.
Response
200 OKGET/api/v1/market-data/assets
curl -X GET "https://api.gilito.ai/api/v1/market-data/assets" \
-H "Authorization: Bearer YOUR_API_KEY"Try It
Example Response
{
"data": [
{
"id": "a1b2c3d4-...",
"symbol": "AAPL",
"name": "Apple Inc.",
"type": "stock",
"exchangeId": "e1f2g3h4-...",
"currency": "USD",
"isActive": true
},
...
]
}GET
/api/v1/market-data/assets/:idReturns a single asset by its unique ID.
Path Parameters
idstring (UUID)requiredThe asset ID.
Response
200 OKGET/api/v1/market-data/assets/:id
curl -X GET "https://api.gilito.ai/api/v1/market-data/assets/{id}" \
-H "Authorization: Bearer YOUR_API_KEY"Try It
Example Response
{
"data": {
"id": "a1b2c3d4-...",
"symbol": "AAPL",
"name": "Apple Inc.",
"type": "stock",
"exchangeId": "e1f2g3h4-...",
"currency": "USD",
"isActive": true
}
}GET
/api/v1/market-data/assets/symbol/:symbolLook up an asset by its ticker symbol.
Path Parameters
symbolstringrequiredThe ticker symbol (e.g., AAPL, MSFT, BTC-USD).
Response
200 OKGET/api/v1/market-data/assets/symbol/:symbol
curl -X GET "https://api.gilito.ai/api/v1/market-data/assets/symbol/{symbol}" \
-H "Authorization: Bearer YOUR_API_KEY"Try It
Example Response
{
"data": {
"id": "a1b2c3d4-...",
"symbol": "AAPL",
"name": "Apple Inc.",
"type": "stock",
"exchangeId": "e1f2g3h4-...",
"currency": "USD",
"isActive": true
}
}GET
/api/v1/market-data/assets/:id/profileReturns the profile of an asset including sector, description, and key details.
Path Parameters
idstring (UUID)requiredThe asset ID.
Response
200 OKGET/api/v1/market-data/assets/:id/profile
curl -X GET "https://api.gilito.ai/api/v1/market-data/assets/{id}/profile" \
-H "Authorization: Bearer YOUR_API_KEY"Try It
Example Response
{
"data": {
"assetId": "a1b2c3d4-...",
"description": "Apple Inc. designs, manufactures...",
"sector": "Technology",
"industry": "Consumer Electronics",
"marketCap": 3200000000000,
"website": "https://apple.com",
"logoUrl": "https://..."
}
}GET
/api/v1/market-data/assets/:id/fundamentalsReturns the latest fundamental data for an asset (P/E, EPS, revenue, etc.).
Path Parameters
idstring (UUID)requiredThe asset ID.
Response
200 OKGET/api/v1/market-data/assets/:id/fundamentals
curl -X GET "https://api.gilito.ai/api/v1/market-data/assets/{id}/fundamentals" \
-H "Authorization: Bearer YOUR_API_KEY"Try It
Example Response
{
"data": {
"assetId": "a1b2c3d4-...",
"peRatio": 28.5,
"eps": 6.42,
"revenue": 394328000000,
"marketCap": 3200000000000,
"dividendYield": 0.005,
"beta": 1.24,
"updatedAt": "2026-03-19T00:00:00.000Z"
}
}