IFR Markets
Thomson Reuters

REST Web Service Help

Overview

This service returns story data from the website.

Access is granted based on username and password parameters. You should use a POST request. Please contact your sales representative to locate these values.
Format user=[user name] and pass=[password] - After a successful login, you will receive a token in the response. You should use this token in the query string instead of the username/password arguments: &token=[token]

Try it out

GET   http://www.ifrmarkets.com/services/rest/stories

Parameters

Parameters allow you to filter the query. Simply append one or more of the desired parameters below to your URL - /services/rest/stories?token=xxx&parameter=xxx.
All queries are limited to a maximum of 100 results. For access to more than 100, use the start filter with multiple iterative calls.

ParameterDescription
fieldsSpecify which data elements to return. Format: &fields=[comma separated list of fields]
formatThe format in which you wish to view the results. Format: &format=['json' or 'xml']
startOffset at which to start results, e.g. skip the first N results. Format: &start=N
limitLimit results to a total of N. Format: &limit=N
dateRetrieve recent stories from this date. Format(s): &date=MM/DD/YYYY%20HH:MM &date=[unix timestamp]
date_sortThe sort order of date property. Default: descending. Format: text (desc, asc)
productProduct(s) to return. Note, this cannot be used with a region or cat parameter. Options include: Rates=1; Credit=2; Forex=3; Format: &product=N &product=N,N
regionRegion(s) to return. Note, this cannot be used with a product or cat parameter. Options include: Rates - Global=4; Rates - Americas=5; Rates - Asia&Japan=6; Rates - Europe=7; Credit - Global=8; Credit - Americas=9; Credit - Asia&Japan=10; Credit - Europe=11; Forex - Global=12; Forex - Majors=13; Forex - Options=14; Forex - Emerging=15; Format: &region=N &region=N,N
catCategory or categories to return. See http://www.ifrmarkets.com/services/rest/dest&help or http://www.ifrmarkets.com/services/rest/terms&help Format(s): &cat=N &cat=N,N
teaserThe length of the teaser (shortened body) to return. Format: &teaser=[numeric character length]

Fields

Fields are segments of data returned by each service. Below is a list of the fields you will receive in this service. If you want to receive a subset of fields, you may append &fields=[one or more fields separated by a comma] to your URL - /services/rest/stories?token=xxx&fields=field1,field2.

FieldDescription
actionWhether this is a new or updated story. Format: string.
nidThe unique identifier of the story. Format: integer.
urlThe URL of the story. Format: text.
titleThe story title. Format: text/html.
bodyThe story body. Format: text/html.
imageThe story image url. Format: text.
authorThe author of the story - firstname-space-lastname. Format: text.
teaserThe story body truncated in length. NOTE: Use the &teaser parameter to specify a length. Format: text/html.
createdThe date the story was initally created. Format: UNIX timestamp.
changedThe most recent modification date. Format: UNIX timestamp.

User login