List Files

Get information on available Feed files to download.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

List Files requests

A List Files request returns the feed files currently available to your account. A filename from this response is required by both download endpoints.

Feed endpoints are served from a different base URL to the content endpoints, and use a separate feed API key.

A request is an HTTP GET to a URL in the form:

https://terra.tripadvisor.com/api/feeds/files/list

List Files responses

The response is a paged object. Each entry in data carries filename and filesize only. filesize is the compressed size in bytes.

Pages are 1-based and size defaults to 5, so raise it when more files are expected.

{
  "data": [
    { "filename": "location.json.gz", "filesize": 1048576 }
  ],
  "pagination": {
    "page": 1,
    "size": 5,
    "total_elements": 6,
    "total_pages": 2
  }
}

There is no last-modified field. Use the dated reviews filename to distinguish one day's file from another.

Note: feeds require the Innovate or Transform package and a feed configuration arranged with your account team.

Note: feed files are retained for a limited window after generation. See the Guide for Downloading Feeds for filenames and retention.

Examples

List the available files

curl "https://terra.tripadvisor.com/api/feeds/files/list?version=1&size=20" \
  -H "X-API-Key: FEED_API_KEY"

Related

Query Params
int32
≥ 0
int32
≥ 1
sort
array of strings
sort
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json