Data feeds are not available by default. Reach out to your ASAPP account contact to ensure data feeds are enabled for your implementation.
Before You Begin
To use ASAPP’s APIs, you need API credentials for each app. Get in touch with your ASAPP team to receive your unique API keys.Endpoints
The File Exporter service uses six parameters to specify a target file:feed: The name of the data feed of interestversion: The version number of the feedformat: The file formatdate: The date of interestinterval: The time interval of interestfileName: The data file name
/fileexporter/v1/static/getfeedfile), which takes these parameters in the request and returns a URL.
POST/fileexporter/v1/static/listfeedsUse this endpoint to retrieve an array of feed names available for your implementation.POST/fileexporter/v1/static/listfeedversionsUse this endpoint to retrieve an array of versions available for a given data feed.POST/fileexporter/v1/static/listfeedformatsUse this endpoint to retrieve an array of available file formats for a given feed and version.POST/fileexporter/v1/static/listfeeddatesUse this endpoint to retrieve an array of available dates for a given feed/version/format.POST/fileexporter/v1/static/listfeedintervalsUse this endpoint to retrieve an array of available intervals for a given feed/version/format/date.POST/fileexporter/v1/static/listfeedfilesUse this endpoint to retrieve an array of file names for a given feed/version/format/date/interval.POST/fileexporter/v1/static/getfeedfileUse this endpoint to retrieve a single file URL for the data specified using parameters returned from the above endpoints.
Endpoint List
-
POST /fileexporter/v1/static/listfeedsRetrieve an array of feed names available for your implementation. -
POST /fileexporter/v1/static/listfeedversionsRetrieve an array of versions available for a given data feed. -
POST /fileexporter/v1/static/listfeedformatsRetrieve an array of available file formats for a given feed and version. -
POST /fileexporter/v1/static/listfeeddatesRetrieve an array of available dates for a given feed/version/format. -
POST /fileexporter/v1/static/listfeedintervalsRetrieve an array of available intervals for a given feed/version/format/date. -
POST /fileexporter/v1/static/listfeedfilesRetrieve an array of file names for a given feed/version/format/date/interval. -
POST /fileexporter/v1/static/getfeedfileRetrieve a single file URL for the data specified using parameters returned from the above endpoints.
Making Routine Requests
Only two requests are needed for exporting data on an ongoing basis for different timeframes. To export a file each time, make these two calls:-
Call
/listfeedfilesusing the samefeed,version,formatparameters, and alter thedateandintervalparameters as necessary (intervalis optional) to specify the time period of the data file you wish to retrieve. In response, you will receive the name(s) of thefileneeded for making the next request. -
Call
/getfeedfilewith the same parameters as above and thefilename parameter returned from/listfeedfiles. In response, you will receive the accessurl. -
Call
/listfeedfilesusing the samefeed,version,formatparameters, and alter thedateandintervalparameters as necessary (intervalis optional) to specify the time period of the data file you wish to retrieve. In response, you will receive the name(s) of thefileneeded for making the next request. -
Call
/getfeedfilewith the same parameters as above and thefilename parameter returned from/listfeedfiles. In response, you receive the accessurl.
/getfeedfile for the file url would look like this:
Data Feeds
Click here to view the full schema for each feed table.Feed table names that include the prefix
staging_ are not referencing a lower environment; table names have no connection to environments.