API

Sections

Theme switcher

/stations

This endpoint delivers all of Distribusion’s stations and provides the detailed information required for mapping these stations in your system. We recommend calling this API on a weekly basis to detect newly mapped stations and add them to your system.

For details about how this endpoint fits into the flow, check the Preparing Metadata step.

Header Parameters

api-keystring Required

Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.

Query Parameters

localestring Required

Set the language for the content of the response. The field accepts ISO 639 language codes. If the content in the specified language is unavailable, English will be returned. For more details check our Languages guide. Reference value: en.

page[size]string Required

Set the max number of connected stations to appear in the response. Reference value: 1000 (max value supported 10000).

page[after]string Required

Set the station. If a response is over 10000 results long, it includes a links.next parameter which specifies the link that should be inserted in page[after] for the subsequent request to proceed to the next page. Reference value: ATGRZGPR.

filter[marketing_carrier_codes][]string

Search for a specific carrier code. Use the value retrieved from /marketing_carriers response. Reference value: TREN.

include[]string

Receive a list of alternative identifiers (common aliases and external codes) for each location. Sample value alternative_identifiers.

Response

200 (partial response)
Object
Successful partial response with 1 station

Response Attributes

idstring
typestring
attributesobject

Show child attributes

relationshipsobject

Show child attributes

Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot