Wheretocredit

Where to Credit API

The Where to Credit API provides mileage earning calculations for frequent flyer programs around the world.

Logistics & shipping#openapi#transport

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Where to Credit API provides mileage earning calculations for frequent flyer programs around the world.

Endpoints 2

Calculate

  • POSTCalculates the number of miles earned for every frequent flyer program./api/1.0/calculate

Programs

  • GETLists all supported frequent flyer programs./api/1.0/programs

API details

Authentication
An API key in the Authorization-Token header
Operations
2 operations on 2 pathsGET 1POST 1
Main resources
Calculate 1Programs 1
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Where to Credit API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Where to Credit API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the Authorization-Token header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Calculates the number of miles earned for every frequent flyer program.” (POST /api/1.0/calculate), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Where to Credit API?

The Where to Credit API provides mileage earning calculations for frequent flyer programs around the world. It is listed under Logistics & shipping and has 2 endpoints.

Who publishes the Where to Credit API?

It is listed from Wheretocredit's public API description (an OpenAPI document), not published by Wheretocredit on Swastik Codes. Anyone who controls wheretocredit.com can claim the profile by adding a DNS TXT record.

How do I authenticate with the Where to Credit API?

With an API key in the Authorization-Token header.

How many endpoints does the Where to Credit API have?

2 operations on 2 paths (1 GET, 1 POST). The largest groups are Calculate, Programs.

Is forking the Where to Credit API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.