Skip to main content
This guide walks you through your first call to the Best Price API. You will set up OAuth 1.0 signing, send a request to the Calendar endpoint, and inspect the response.
No credentials yet? Import the API collections and run any request against the mock environment straight away, with no credentials. Add your OAuth 1.0 credentials when you are ready to call the live API.

Prerequisites

Get the following from D-EDGE before starting:
  • OAuth 1.0 credentials: consumer key, consumer secret, token key, and token secret.
  • API base URL: the base URL for your environment.
  • Hotel ID and Group ID: the hotel you want to query.
All are delivered during the build step of your integration journey, after the partnership agreement.
1

Install an OAuth 1.0 library

Use a battle-tested library to handle the signing. Skip this step if you only use cURL.
2

Make your first call

Send a POST to the Calendar endpoint with a minimal request body. The exact field requirements are documented in the Reference. The four other Best Price endpoints follow the same authentication pattern; mind the guests field, whose shape (single object or array) changes per endpoint.
3

Inspect the response

A successful response returns 200 OK with a JSON array. Each item represents one arrival date in your requested range, with availability and pricing.
See the response schema for the full structure.

Common issues

Next steps

Reference

Endpoint specifications, parameters, and response schemas.

Use cases

Build calendars, listings, multi-property views, and member rate widgets.

Best practices

Patterns to build responsibly and run reliably at scale.