curl --request POST \
--url https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agency": "OECD.CTP.TPS",
"page_size": 10,
"q": "Revenue Statistics in OECD"
}
'import requests
url = "https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list"
payload = {
"agency": "OECD.CTP.TPS",
"page_size": 10,
"q": "Revenue Statistics in OECD"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agency: 'OECD.CTP.TPS', page_size: 10, q: 'Revenue Statistics in OECD'})
};
fetch('https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'agency' => 'OECD.CTP.TPS',
'page_size' => 10,
'q' => 'Revenue Statistics in OECD'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list"
payload := strings.NewReader("{\n \"agency\": \"OECD.CTP.TPS\",\n \"page_size\": 10,\n \"q\": \"Revenue Statistics in OECD\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"agency\": \"OECD.CTP.TPS\",\n \"page_size\": 10,\n \"q\": \"Revenue Statistics in OECD\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agency\": \"OECD.CTP.TPS\",\n \"page_size\": 10,\n \"q\": \"Revenue Statistics in OECD\"\n}"
response = http.request(request)
puts response.read_body{
"agency": "OECD.CTP.TPS",
"attribution": "Source: OECD Data Explorer, https://data-explorer.oecd.org/ (SDMX API https://sdmx.oecd.org/public/rest/). OECD terms: https://www.oecd.org/en/about/terms-conditions.html; cite the OECD and the dataflow; check the dataflow metadata for third-party owners.",
"count": 2,
"dataflows": [
{
"agency_id": "OECD.CTP.TPS",
"dataflow_ref": "OECD.CTP.TPS:DSD_REF_OECD@DF_REFSERIES_OECD(2.0)",
"id": "DSD_REF_OECD@DF_REFSERIES_OECD",
"is_final": true,
"name": "Revenue Statistics in OECD member countries - Reference series",
"structure_url": "https://sdmx.oecd.org/public/rest/dataflow/OECD.CTP.TPS/DSD_REF_OECD@DF_REFSERIES_OECD/2.0",
"version": "2.0"
},
{
"agency_id": "OECD.CTP.TPS",
"dataflow_ref": "OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0)",
"id": "DSD_REV_COMP_OECD@DF_RSOECD",
"is_final": true,
"name": "Revenue Statistics in OECD member countries - Comparative tax revenues",
"structure_url": "https://sdmx.oecd.org/public/rest/dataflow/OECD.CTP.TPS/DSD_REV_COMP_OECD@DF_RSOECD/2.0",
"version": "2.0"
}
],
"next_cursor": null,
"observed_at_ms": 1792360036093,
"query": "Revenue Statistics in OECD",
"retrieved_at": "2026-10-18T21:47:16Z",
"source_url": "https://sdmx.oecd.org/public/rest/dataflow/OECD.CTP.TPS/all/latest?detail=allstubs",
"total": 2
}Dataflows list
Start here to find a dataflow_ref such as OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0) (Revenue Statistics) or OECD.SDD.STES:DSD_STES@DF_FINMARK(4.0) (Financial market).
curl --request POST \
--url https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agency": "OECD.CTP.TPS",
"page_size": 10,
"q": "Revenue Statistics in OECD"
}
'import requests
url = "https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list"
payload = {
"agency": "OECD.CTP.TPS",
"page_size": 10,
"q": "Revenue Statistics in OECD"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agency: 'OECD.CTP.TPS', page_size: 10, q: 'Revenue Statistics in OECD'})
};
fetch('https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'agency' => 'OECD.CTP.TPS',
'page_size' => 10,
'q' => 'Revenue Statistics in OECD'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list"
payload := strings.NewReader("{\n \"agency\": \"OECD.CTP.TPS\",\n \"page_size\": 10,\n \"q\": \"Revenue Statistics in OECD\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"agency\": \"OECD.CTP.TPS\",\n \"page_size\": 10,\n \"q\": \"Revenue Statistics in OECD\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agency\": \"OECD.CTP.TPS\",\n \"page_size\": 10,\n \"q\": \"Revenue Statistics in OECD\"\n}"
response = http.request(request)
puts response.read_body{
"agency": "OECD.CTP.TPS",
"attribution": "Source: OECD Data Explorer, https://data-explorer.oecd.org/ (SDMX API https://sdmx.oecd.org/public/rest/). OECD terms: https://www.oecd.org/en/about/terms-conditions.html; cite the OECD and the dataflow; check the dataflow metadata for third-party owners.",
"count": 2,
"dataflows": [
{
"agency_id": "OECD.CTP.TPS",
"dataflow_ref": "OECD.CTP.TPS:DSD_REF_OECD@DF_REFSERIES_OECD(2.0)",
"id": "DSD_REF_OECD@DF_REFSERIES_OECD",
"is_final": true,
"name": "Revenue Statistics in OECD member countries - Reference series",
"structure_url": "https://sdmx.oecd.org/public/rest/dataflow/OECD.CTP.TPS/DSD_REF_OECD@DF_REFSERIES_OECD/2.0",
"version": "2.0"
},
{
"agency_id": "OECD.CTP.TPS",
"dataflow_ref": "OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0)",
"id": "DSD_REV_COMP_OECD@DF_RSOECD",
"is_final": true,
"name": "Revenue Statistics in OECD member countries - Comparative tax revenues",
"structure_url": "https://sdmx.oecd.org/public/rest/dataflow/OECD.CTP.TPS/DSD_REV_COMP_OECD@DF_RSOECD/2.0",
"version": "2.0"
}
],
"next_cursor": null,
"observed_at_ms": 1792360036093,
"query": "Revenue Statistics in OECD",
"retrieved_at": "2026-10-18T21:47:16Z",
"source_url": "https://sdmx.oecd.org/public/rest/dataflow/OECD.CTP.TPS/all/latest?detail=allstubs",
"total": 2
}Request contract
- Method and path: POST /apis/v1/sdmx-oecd-org/datasets/dataflows-list
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/dataflows-list
{
"operationId": "sdmx-oecd-org.datasets.dataflows-list",
"method": "POST",
"path": "/apis/v1/sdmx-oecd-org/datasets/dataflows-list",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"agency": "OECD.CTP.TPS",
"page_size": 10,
"q": "Revenue Statistics in OECD"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"agency": {
"default": "all",
"description": "SDMX agency id, e.g. OECD.CTP.TPS, OECD.SDD.STES, OECD.SDD.TPS, or `all` (1,550 flows, ~570 KB upstream). Pattern: ^(all|[A-Za-z0-9_.]{1,64})$.\n\nProvider reference: default \"all\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"cursor": {
"description": "`next_cursor` from the previous page.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"page_size": {
"default": 100,
"description": "page_size\n\nProvider reference: minimum 1; maximum 500; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 500,
"min": 1
}
},
"q": {
"description": "Case-insensitive substring filter on the dataflow name or id.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Find OECD dataflows by keyword: id, agency, version, name and the dataflow_ref every other function takes, from GET dataflow/{agency}/all/latest?detail=allstubs (about 1,500 public dataflows with agency = all). q filters by a case-insensitive substring of the name or id (e.g. revenue statistics, social expenditure, sector accounts, merchandise trade). Common dataflows: G20/OECD merchandise trade OECD.SDD.TPS:DSD_IMTS@DF_IMTS (REF_AREA incl. G20, G7, OECD; TRADE_FLOW X exports, M imports, TB balance; FREQ Q/M/A; UNIT_MEASURE USD_EXC); quarterly trade in services and goods from balance of payments OECD.SDD.TPS:DSD_BOP@DF_BOP (MEASURE S services, G goods; ACCOUNTING_ENTRY C credit (exports), D debit (imports), B balance; FREQ Q); annual services by partner and category OECD.SDD.TPS:DSD_BOP@DF_TIS; Revenue Statistics OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD (STANDARD_REVENUE _T total tax, T_1000 income, T_1100 personal income, T_1200 corporate, T_2000 social security, T_4000 property, T_5000 goods and services; UNIT_MEASURE PT_B1GQ % of GDP; SECTOR S13 general government); Social expenditure (SOCX) OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG (EXPEND_SOURCE ES10 public, ES20 mandatory private; PROGRAMME_TYPE _T total, TP11 old age...; UNIT_MEASURE PT_B1GQ % of GDP); quarterly sector accounts OECD.SDD.NAD:DSD_NASEC1@DF_QSA (SECTOR S1 total economy, S11 non-financial corporations, S13 government, S14 households, S1M households and NPISH; TRANSACTION B6G disposable income, B8G saving, B9 net lending...); annual sector accounts OECD.SDD.NAD:DSD_NASEC10@DF_TABLE14. Countries are ISO3 codes in REF_AREA; periods are 2024, 2024-Q3, 2024-07.
The response contains the tool result directly.
The provider identifies dataflows as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
agency_id | string | |
dataflow_ref | string | AGENCY:ID(VERSION), the dataflow input of the other functions. |
id | string | |
is_final | boolean | |
name | string | |
structure_url | string | GET dataflow/{agency}/{id}/{version} URL for this flow. |
version | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.