Skip to content

Browse the macro catalogue

Request

Every series, with its metadata. Filter by any dimension from /macro/catalog/facets (comma-separated values), search series with q, keep only derived (is_derived=true) or source series, or look up many entries at once with series_ids.

Security
HTTPBearer or ApiKeyAuth
Query
qstring or null(Q)
Any of:

Substring of the series_id

string
is_derivedboolean or null(Is Derived)
Any of:

true: only series Vanda computes from others; false: only the rest

boolean
series_idsstring or null(Series Ids)
Any of:

Comma-separated series_ids, up to 500; ids that match no series are left out

string
records_per_pageinteger, [ 1 .. 1000 ](Records Per Page)

Rows per page

Default:100
page_numberinteger, >= 1(Page Number)

1-indexed

Default:1
curl -i -X GET \
  'https://docs.vanda-analytics.com/_mock/apis/macro/vanda-msvc-macro/macro/catalog?q=string&is_derived=true&series_ids=string&records_per_page=100&page_number=1' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful Response

Bodyapplication/json
dataArray of objects(Data)
countinteger(Count)

Entries in this page

Default:0
paginationPaginationMeta (object) or null
Any of:
Response
{ "data": [ { "series_id": "string", "metric": "string", "measure_class": "string", "unit": "string", "frequency": "string", "start_date": "2019-08-24", "version": "string", "domain": "string", "model": "string", "entity_type": "string", "series_code": "string", "source": "string", "vanda_id": "string", "is_derived": false, "updated_at": "2019-08-24T14:15:22Z" } ], "count": 0, "pagination": { "page_number": 0, "records_per_page": 0, "total_record_count": 0, "total_pages": 0, "has_next": true, "has_previous": true } }