Despegar Price Jump API

The Price Jump API from Despegar — 1 operation(s) for price jump.

Operations 2

GET /book/{reservationId}/recovery Price Jump #
PATCH /book/{reservationId}/recovery Price Jump #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/despegar-price-jump-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

despegar-price-jump-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Activities Availability Price Jump API
  version: 1.0.0
  description: 'API for activities: tickets, modalities, availability, prebook, payments, and booking. Authentication via API Key.'
servers:
- url: https://api-dev.despegar.com/v3/activities-api
  description: Sandbox
- url: https://apis-uat.despegar.com/v3/activities-api
  description: UAT
- url: https://api.despegar.com/v3/activities-api
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Price Jump
paths:
  /book/{reservationId}/recovery:
    get:
      tags:
      - Price Jump
      summary: Price Jump
      operationId: getPriceJump
      description: This service detects price variations for a product, providing the differences between the original and the updated value.
      parameters:
      - name: reservationId
        in: path
        required: true
        schema:
          type: string
        description: This field must be filled in with the id of an existing reservation or with the 'external_booking_reference' sent when closing the reservation.
      - in: query
        name: test_case
        schema:
          type: string
          enum:
          - pricejump
        description: Optional parameter for testing purposes. Use 'pricejump' to simulate a price jump scenario.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  reservation_id:
                    type: string
                    description: Number of the reservation created.
                  status:
                    type: string
                    enum:
                    - SUCCESS
                    - PROCESSING
                    - ERROR
                    description: 'Possible reservation statuses: ''SUCCESS'', ''ERROR'', and ''PROCESSING''.'
                  sub_status:
                    type: string
                  price_jump:
                    type: object
                    properties:
                      difference:
                        type: number
                        description: Indicates the difference between the original and the updated price.
                      price_before_price_jump:
                        type: number
                        description: Original price before the price change.
                      price_after_price_jump:
                        type: number
                        description: Updated price after the price change.
                      currency:
                        type: string
                        description: Currency in which the prices are expressed.
                      timeout:
                        type: string
                        format: date-time
                        description: Date and time until which the price change can be accepted or rejected.
                      message:
                        type: object
                        properties:
                          message_type:
                            type: string
                            description: Same value used in the PATCH request.
                          price_jump_confirmations:
                            type: array
                            items:
                              type: object
                              properties:
                                flavor_id:
                                  type: string
                                  description: Indicates the product type. F0 = Flight.
                                  example: F0
                                confirm:
                                  type: boolean
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: INVALID_FILTER
                  message:
                    type: string
                    example: Invalid parameter
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: INVALID_FILTER
                  message:
                    type: string
                    example: Invalid parameter
    patch:
      tags:
      - Price Jump
      summary: Price Jump
      operationId: recoveryBooking
      parameters:
      - name: reservationId
        in: path
        required: true
        schema:
          type: string
        description: This field must be filled in with the id of an existing reservation or with the 'external_booking_reference' sent when closing the reservation.
      - in: query
        name: test_case
        schema:
          type: string
          enum:
          - pricejump
        description: Optional parameter for testing purposes. Use 'pricejump' to simulate a price jump scenario.
        required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                message_type:
                  type: string
                  description: This field must be populated with the value returned by the GET endpoint.
                price_jump_confirmations:
                  type: array
                  items:
                    type: object
                    properties:
                      flavor_id:
                        type: string
                        description: Indicates the product type. F0 = Flight.
                        example: F0
                      confirm:
                        type: boolean
      responses:
        '204':
          description: OK
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: INVALID_FILTER
                  message:
                    type: string
                    example: Invalid parameter
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: INVALID_FILTER
                  message:
                    type: string
                    example: Invalid parameter
      description: This service allows accepting or rejecting detected price variations for a product, confirming whether to proceed with the updated value.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-apikey
    BearerAuth:
      type: http
      scheme: bearer
x-readme: {}