Page tree
Skip to end of metadata
Go to start of metadata

Request description

URL Description Available methods

rest/help

View human-readable help

GET

rest/events

Get last events snapshot

GET/POST

rest/eventSource

Subscribe to events stream via Server-Sent Events

GET/POST

rest/addSubscription

Add subscription to the created session

GET/POST

rest/removeSubscription

Remove subscription from the created session

GET/POST


Output formats

Format MIME-type

Raw

plain/text

JSON

application/json

XML

application/xml


Output formats can be specified as MIME type in HTTP Accept header or by adding an extension to the end of the URL (except /help).

Examples

  • Web

https://tools.dxfeed.com/webservice/rest/events.json
  • Bash

curl -X GET \
-H 'Accept: application/json' \
'https://tools.dxfeed.com/webservice/rest/events'
  • Python

import requests
url = 'https://tools.dxfeed.com/webservice/rest/events'
headers = {'Accept': 'application/json'}
r = requests.get(url, headers=headers)

Please try web service demo.