Skip to main content
POST
Source status

Request contract

  • Method and path: POST /apis/v1/sdmx-oecd-org/datasets/source-status
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/source-status
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
dataflow
string
required

AGENCY:ID(VERSION) or AGENCY:ID (latest), e.g. OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD.

end_period
string

Pattern: ^[0-9]{4}(-(0[1-9]|1[0-2]|Q[1-4]|S[12]|W[0-5][0-9])(-(0[1-9]|[12][0-9]|3[01]))?)?$.

filters
object

Codes per dimension id, e.g. {"REF_AREA": "USA", "FREQ": "Q", "TRADE_FLOW": ["X", "M"]}. Countries go in REF_AREA as ISO3 codes; dimensions left out are wildcards. structure_get lists the dimension ids and the codes with data. Use instead of key.

include_hash
boolean

Download the CSV segment and return its canonical SHA-256 and size. Costs one data download; the segment must be under 50,000 observations.

key
string

Raw SDMX series key in dimension order (see structure_get); empty position = wildcard, + joins codes. Prefer filters, which cannot get the positions wrong. Pattern: ^(all|[A-Za-z0-9_@+.-]*)$.

start_period
string

SDMX period: 2020, 2026-01, 2024-Q1. Pattern: ^[0-9]{4}(-(0[1-9]|1[0-2]|Q[1-4]|S[12]|W[0-5][0-9])(-(0[1-9]|[12][0-9]|3[01]))?)?$.

Response

Cheap check of one selection (filters or key) of a dataflow from GET availableconstraint/{flow}/{key}?mode=exact (cached 2 h upstream): resolved dataflow version, obs_count, time range and the codes present per dimension, plus the segment's data file URL. With include_hash the SDMX-CSV segment is downloaded once and hashed canonically (the same hash records_list pins in its cursor). Useful to see which codes and periods exist for a country before collecting.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.