Find an API

Search public APIs with auth details & Postman guides

← All APIs

Where to Credit API

wheretocredit · Company

Company No Auth Free & Open transport

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

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Lists all supported frequent flyer programs.

Lists all supported frequent flyer programs.

https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/programs

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/programs"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/programs",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/programs';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/programs"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/programs")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/programs";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
POST Calculates the number of miles earned for every frequent flyer program.

Calculates the number of miles earned for every frequent flyer program.

https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/calculate

Hover any highlighted part to learn what it does

curl -X POST "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/calculate"
import requests
response = requests.post(
    "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/calculate",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/calculate';

const response = await fetch(url, {
  method: 'POST',
}); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/calculate"
	req, _ := http.NewRequest("POST", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/calculate")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Post.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/wheretocredit.com/1.0/api/1.0/calculate";
$opts = ["http" => [
    "method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Where to Credit API?

Where to Credit API is a Company API. Developers commonly use company APIs for:

  • enriching CRM records with company firmographics
  • building lead-generation and prospecting tools
  • verifying business identity and registration details
  • monitoring competitors and market intelligence
  • powering B2B data enrichment pipelines

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Where to Credit API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗