Getting Started with Insight
Introduction
Base URL
https://insight.lineupiq.io/api/
Authentication
x-app-id
: Your application ID (required)x-api-key
: Your API key (required)Content-Type
: application/json
(for POST
requests)Rate Limits
Plan | Request Limit |
---|---|
Basic Tier | 1 request per second |
Enterprise Tier | Custom rate limits available |
Making Your First API Request
GET
request to fetch all Discovery records:curl --request GET 'https://insight.lineupiq.io/api/v1/discovery' \
--header 'x-app-id: YOUR_APP_ID' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Accept: application/json'
Example Response:
{
"discoveries": [
{
"request_id": "5112714f-8696-46ff-8427-b63581a648a4",
"timestamp": "2025-02-07T20:59:04.760410Z",
"venue_name": "Union Hall",
"venue_capacity": 20000,
"genres": ["country"]
}
],
"record_count": 1
}
Error Handling
Status Code | Message | Description |
---|---|---|
200 | OK | Request successful. |
400 | Bad Request | Invalid or missing parameters. |
401 | Unauthorized | Invalid API key or missing authentication headers. |
403 | Forbidden | Insufficient permissions. |
404 | Not Found | Resource does not exist. |
429 | Too Many Requests | Rate limit exceeded. |
500 | Server Error | Unexpected internal error. |