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/kpler-aggregations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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: Kpler Direct Access Aggregations API
version: '1.0'
description: REST API for the Kpler commodities intelligence platform, giving programmatic access to the same trades, flows, and vessel data available in the Kpler terminal.
contact:
name: Kpler Customer Success
email: cs@kpler.com
url: https://developers.kpler.com/
x-access-model: customer-gated
x-endpoints-modeled: true
servers:
- url: https://api.kpler.com
description: Liquids platform (crude, CPP, DPP)
- url: https://api-lng.kpler.com
description: LNG platform
- url: https://api-lpg.kpler.com
description: LPG platform
- url: https://api-dry.kpler.com
description: Dry platform (coal and dry bulk)
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: Aggregations
description: Flows and other aggregated series.
paths:
/v1/flows:
get:
operationId: getFlows
tags:
- Aggregations
summary: Aggregated commodity flows
description: Returns aggregated flows for a point of interest (installation or zone) on a daily, weekly, weekly EIA (US), monthly, or yearly basis. Documented SDK-level filters include flow direction, split, granularity, date range, from/to installations and zones, products, unit, intra-country and intra-region inclusion, forecasts, and vessel types.
parameters:
- $ref: '#/components/parameters/columns'
- $ref: '#/components/parameters/size'
- $ref: '#/components/parameters/fromZones'
- $ref: '#/components/parameters/toZones'
- $ref: '#/components/parameters/startDate'
- $ref: '#/components/parameters/endDate'
- $ref: '#/components/parameters/products'
- name: granularity
in: query
description: Aggregation granularity (daily, weekly, monthly, yearly).
schema:
type: string
- name: flowDirection
in: query
description: Direction of the flow relative to the point of interest (import/export).
schema:
type: string
- name: split
in: query
description: Dimension to split the aggregation by (for example product, origin, destination).
schema:
type: string
responses:
'200':
$ref: '#/components/responses/TabularData'
'401':
$ref: '#/components/responses/Unauthorized'
components:
responses:
Unauthorized:
description: Missing or invalid Kpler client credentials.
TabularData:
description: Tabular result set. Responses are delivered as delimited tabular data (consumed as DataFrames by the official Python SDK); exact response schemas are documented in the customer-gated Direct Access guides.
content:
text/csv:
schema:
type: string
parameters:
products:
name: products
in: query
description: Product filter (for example crude, gasoline, LNG).
schema:
type: string
fromZones:
name: fromZones
in: query
description: Origin zone filter (for example Europe).
schema:
type: string
startDate:
name: startDate
in: query
description: Start of the date range.
schema:
type: string
format: date
size:
name: size
in: query
description: Maximum number of rows to return.
schema:
type: integer
toZones:
name: toZones
in: query
description: Destination zone filter (for example Asia).
schema:
type: string
endDate:
name: endDate
in: query
description: End of the date range.
schema:
type: string
format: date
columns:
name: columns
in: query
description: Comma-separated list of columns to return (for example trade_id,vessel_name,start,end).
schema:
type: string
securitySchemes:
basicAuth:
type: http
scheme: basic
description: Encoded Kpler client credentials in the Authorization header.
bearerAuth:
type: http
scheme: bearer
description: Token obtained from the /login endpoint.
externalDocs:
description: Kpler Developer Portal
url: https://developers.kpler.com/