Get in touch
Get in touch

Making a request

Although we advise using the Data Graphs Client SDK to access your data, you can query the API directly. In this case, you will need to combine the Base URL –  https://api.datagraphs.io/ – with the relevant endpoint.

GET, POSTPUTPATCH, and DELETE methods are available. GET requests can include query parameters that limit the size, ask for specific page, filter and sort the data in the responses. POSTPUT and PATCH requests require a JSON body.

The API documentation has more information, as well as sample requests/responses and a test harness for each endpoint.

Headers

All requests require an API key and those to private Datasets must also include an OAuth 2.0 access token.

API key – should be used as an   x-api-key header

OAuth 2.0 access token – should be used in the Authorization header as a Bearer token

See Authentication for information on how to access your API key and generate an access token.