API Reference
31 REST API endpoints. All requests require an API key via Bearer token.
Authentication #
bash
Authorization: Bearer YOUR_API_KEY
Base URL: https://www.gapquery.com/api/v1
Ecosystems #
| Method | Endpoint | Description |
|---|---|---|
| GET | /ecosystems | List active ecosystems |
| GET | /ecosystems/{slug} | Ecosystem detail |
Apps #
| Method | Endpoint | Description |
|---|---|---|
| GET | /ecosystems/{slug}/apps | Apps in ecosystem (paginated) |
| GET | /apps/search?q= | Full-text search |
| GET | /apps/{slug} | App detail with relationships |
Categories #
| Method | Endpoint | Description |
|---|---|---|
| GET | /categories | Category tree |
| GET | /categories/{slug} | Category detail |
Stats #
| Method | Endpoint | Description |
|---|---|---|
| GET | /stats/ecosystems | Ecosystem stats from summary tables |
| GET | /stats/compare?ecosystems[]= | Side-by-side comparison |
Gap Analysis #
| Method | Endpoint | Description |
|---|---|---|
| GET | /gaps/categories | Cross-ecosystem category gaps |
| GET | /gaps/integrations | Missing integrations |
| GET | /gaps/developer-whitespace | Developer presence gaps |
| GET | /gaps/nascent-ecosystems | Small/emerging ecosystems |
Opportunities #
| Method | Endpoint | Description |
|---|---|---|
| GET | /opportunities/disruption-targets | High reviews + low rating |
| GET | /opportunities/price-gaps | Expensive categories |
| GET | /opportunities/keyword-opportunities | Low-saturation tags |
| GET | /opportunities/combination-gaps | Integration pair gaps |
Bridges #
| Method | Endpoint | Description |
|---|---|---|
| GET | /bridges/integrations | Shared integrations across ecosystems |
Reports #
| Method | Endpoint | Description |
|---|---|---|
| GET | /reports/opportunity | Composite opportunity report |
Saved Queries #
| Method | Endpoint | Description |
|---|---|---|
| GET | /saved-queries | List saved queries |
| POST | /saved-queries | Create saved query |
| GET | /saved-queries/{id} | Show saved query |
| PUT | /saved-queries/{id} | Update saved query |
| DELETE | /saved-queries/{id} | Delete saved query |
| POST | /saved-queries/{id}/run | Re-execute and update snapshot |