Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/tripgain-com:tripgain-com-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Flight Analytics Config API
description: Protected with x-session-token
version: 1.0.0
tags:
- name: Config
paths:
/config/lookaheads:
get:
tags:
- Config
summary: Fetch Lookaheads
operationId: fetch_lookaheads_config_lookaheads_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- SessionToken: []
post:
tags:
- Config
summary: Insert Lookahead
operationId: insert_lookahead_config_lookaheads_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LookaheadCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
delete:
tags:
- Config
summary: Remove Lookahead
operationId: remove_lookahead_config_lookaheads_delete
parameters:
- name: days
in: query
required: true
schema:
type: integer
title: Days
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
/config/sectors:
get:
tags:
- Config
summary: Fetch Sectors
operationId: fetch_sectors_config_sectors_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- SessionToken: []
post:
tags:
- Config
summary: Insert Sector
operationId: insert_sector_config_sectors_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SectorCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
delete:
tags:
- Config
summary: Remove Sector
operationId: remove_sector_config_sectors_delete
parameters:
- name: origin
in: query
required: true
schema:
type: string
title: Origin
- name: destination
in: query
required: true
schema:
type: string
title: Destination
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
/config/intl/lookaheads:
get:
tags:
- Config
summary: Fetch Intl Lookaheads
operationId: fetch_intl_lookaheads_config_intl_lookaheads_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- SessionToken: []
post:
tags:
- Config
summary: Insert Intl Lookahead
operationId: insert_intl_lookahead_config_intl_lookaheads_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LookaheadCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
delete:
tags:
- Config
summary: Remove Intl Lookahead
operationId: remove_intl_lookahead_config_intl_lookaheads_delete
parameters:
- name: days
in: query
required: true
schema:
type: integer
title: Days
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
/config/intl/sectors:
get:
tags:
- Config
summary: Fetch Intl Sectors
operationId: fetch_intl_sectors_config_intl_sectors_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- SessionToken: []
post:
tags:
- Config
summary: Insert Intl Sector
operationId: insert_intl_sector_config_intl_sectors_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SectorCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
delete:
tags:
- Config
summary: Remove Intl Sector
operationId: remove_intl_sector_config_intl_sectors_delete
parameters:
- name: origin
in: query
required: true
schema:
type: string
title: Origin
- name: destination
in: query
required: true
schema:
type: string
title: Destination
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- SessionToken: []
components:
schemas:
LookaheadCreate:
properties:
lookahead_days:
type: integer
title: Lookahead Days
example: 3
is_active:
type: boolean
title: Is Active
default: true
type: object
required:
- lookahead_days
title: LookaheadCreate
SectorCreate:
properties:
origin:
type: string
title: Origin
example: BLR
destination:
type: string
title: Destination
example: BOM
is_active:
type: boolean
title: Is Active
default: true
type: object
required:
- origin
- destination
title: SectorCreate
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
SessionToken:
type: apiKey
in: header
name: x-session-token