Skip to main content
GET
/
key
/
info
CLI
curl --request GET \
--url https://api-pro.coinpaprika.com/v1/key/info \
--header 'Authorization: <api-key>'
import requests

url = "https://api.coinpaprika.com/v1/key/info"

headers = {"Authorization": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};

fetch('https://api.coinpaprika.com/v1/key/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.coinpaprika.com/v1/key/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

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

func main() {

url := "https://api.coinpaprika.com/v1/key/info"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.coinpaprika.com/v1/key/info")
.header("Authorization", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.coinpaprika.com/v1/key/info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "plan": "pro",
  "plan_started_at": "2022-09-16T10:17:24Z",
  "plan_status": "active",
  "portal_url": "https://coinpaprika.com/api/panel",
  "usage": {
    "message": "limited plan",
    "current_month": {
      "requests_made": 18,
      "requests_left": 499982
    }
  }
}
{
"error": "you have reached maximum request limit"
}

Authorizations

Authorization
string
header
required

Response

successful operation

plan
string

Name of the API plan

Example:

"pro"

plan_started_at
string

A date when the plan started in RFC3999 (ISO-8601) format

Example:

"2022-09-16T10:17:24Z"

plan_status
string

Status of the plan. There are 3 possible statuses: active - the subscription is active; past_due - the subscription payment failed. If payment is not made within 7 days, then the subscription will expire; inactive - the subscription is inactive.

Example:

"active"

portal_url
string

API Customer Portal URL

Example:

"https://coinpaprika.com/api/panel"

usage
object

Monthly usage for the API key