Worldwide Earthquakes
Earthquake is a simple tool for getting earthquake data. It returns the earthquake data for the past hour.
This API provides reliable and fast access to worldwide earthquakes data through a simple REST interface. Built for developers who need consistent, high-quality results with minimal setup time.
To use this API, you need an API key. You can get one by creating a free account and visiting your dashboard.
View API in DirectoryEndpoint
GET https://api.apiverve.com/v1/earthquakeCode Examples
Here are examples of how to call this API in different programming languages:
curl -X GET \
"https://api.apiverve.com/v1/earthquake" \
-H "X-API-Key: your_api_key_here"const response = await fetch('https://api.apiverve.com/v1/earthquake', {
method: 'GET',
headers: {
'X-API-Key': 'your_api_key_here',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data);import requests
headers = {
'X-API-Key': 'your_api_key_here',
'Content-Type': 'application/json'
}
response = requests.get('https://api.apiverve.com/v1/earthquake', headers=headers)
data = response.json()
print(data)const https = require('https');
const url = require('url');
const options = {
method: 'GET',
headers: {
'X-API-Key': 'your_api_key_here',
'Content-Type': 'application/json'
}
};
const req = https.request('https://api.apiverve.com/v1/earthquake', options, (res) => {
let data = '';
res.on('data', (chunk) => data += chunk);
res.on('end', () => console.log(JSON.parse(data)));
});
req.end();<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.apiverve.com/v1/earthquake');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-API-Key: your_api_key_here',
'Content-Type: application/json'
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);
?>package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/earthquake", nil)
req.Header.Set("X-API-Key", "your_api_key_here")
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require 'net/http'
require 'json'
uri = URI('https://api.apiverve.com/v1/earthquake')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['X-API-Key'] = 'your_api_key_here'
request['Content-Type'] = 'application/json'
response = http.request(request)
puts JSON.pretty_generate(JSON.parse(response.body))Authentication
This API requires authentication via API key. Include your API key in the request header:
X-API-Key: your_api_key_hereResponse
The API returns responses in JSON, XML, and YAML formats:
Example Responses
{
"status": "ok",
"error": null,
"data": {
"earthquakes_LastUpdated": 1740085202,
"earthquakes_LastHour": 13,
"earthquakes": [
{
"mag": 1.63,
"place": "4 km SSW of Home Gardens, CA",
"time": 1740084740320,
"status": "automatic",
"tsunami": 0,
"sig": 41,
"net": "ci",
"types": ",nearby-cities,origin,phase-data,scitech-link,",
"nst": 30,
"dmin": 0.07665,
"rms": 0.16,
"gap": 212,
"magType": "ml",
"type": "earthquake",
"title": "M 1.6 - 4 km SSW of Home Gardens, CA",
"coordinates": [
-117.5313333,
33.8441667
]
},
{
"mag": 1.53,
"place": "3 km of The Geysers, CA",
"time": 1740084398050,
"status": "automatic",
"tsunami": 0,
"sig": 36,
"net": "nc",
"types": ",focal-mechanism,nearby-cities,origin,phase-data,",
"nst": 31,
"dmin": 0.01013,
"rms": 0.04,
"gap": 61,
"magType": "md",
"type": "earthquake",
"title": "M 1.5 - 3 km of The Geysers, CA",
"coordinates": [
-122.770835876465,
38.8066673278809
]
},
{
"mag": 1.5,
"place": "36 km SSW of Los Ybanez, Texas",
"time": 1740083760065,
"status": "automatic",
"tsunami": 0,
"sig": 35,
"net": "tx",
"types": ",origin,phase-data,",
"nst": 21,
"dmin": 0,
"rms": 0.5,
"gap": 98,
"magType": "ml",
"type": "earthquake",
"title": "M 1.5 - 36 km SSW of Los Ybanez, Texas",
"coordinates": [
-102.118,
32.437
]
},
{
"mag": 1.28,
"place": "2 km NNE of Rancho San Diego, CA",
"time": 1740083416660,
"status": "automatic",
"tsunami": 0,
"sig": 25,
"net": "ci",
"types": ",nearby-cities,origin,phase-data,scitech-link,",
"nst": 18,
"dmin": 0.02613,
"rms": 0.18,
"gap": 117,
"magType": "ml",
"type": "earthquake",
"title": "M 1.3 - 2 km NNE of Rancho San Diego, CA",
"coordinates": [
-116.9288333,
32.7591667
]
},
{
"mag": 1.3,
"place": "2 km N of The Geysers, CA",
"time": 1740083145550,
"status": "automatic",
"tsunami": 0,
"sig": 26,
"net": "nc",
"types": ",nearby-cities,origin,phase-data,",
"nst": 17,
"dmin": 0.008002,
"rms": 0.02,
"gap": 75,
"magType": "md",
"type": "earthquake",
"title": "M 1.3 - 2 km N of The Geysers, CA",
"coordinates": [
-122.758499145508,
38.792667388916
]
},
{
"mag": 2.03,
"place": "23 km NE of San Ardo, CA",
"time": 1740083087170,
"status": "automatic",
"tsunami": 0,
"sig": 63,
"net": "nc",
"types": ",nearby-cities,origin,phase-data,",
"nst": 24,
"dmin": 0.04482,
"rms": 0.08,
"gap": 78,
"magType": "md",
"type": "earthquake",
"title": "M 2.0 - 23 km NE of San Ardo, CA",
"coordinates": [
-120.757835388184,
36.1879997253418
]
},
{
"mag": 1.5,
"place": "18 km N of Nellis Air Force Base, Nevada",
"time": 1740082632669,
"status": "automatic",
"tsunami": 0,
"sig": 35,
"net": "nn",
"types": ",origin,phase-data,",
"nst": 12,
"dmin": 0.142,
"rms": 0.352,
"gap": 324.6699999999999,
"magType": "ml",
"type": "earthquake",
"title": "M 1.5 - 18 km N of Nellis Air Force Base, Nevada",
"coordinates": [
-115.0204,
36.4137
]
},
{
"mag": 2.4,
"place": "42 km ENE of Susitna North, Alaska",
"time": 1740082487421,
"status": "automatic",
"tsunami": 0,
"sig": 89,
"net": "ak",
"types": ",origin,phase-data,",
"rms": 0.58,
"magType": "ml",
"type": "earthquake",
"title": "M 2.4 - 42 km ENE of Susitna North, Alaska",
"coordinates": [
-149.1448,
62.358
]
},
{
"mag": 0.58,
"place": "0 km of The Geysers, CA",
"time": 1740082396860,
"status": "automatic",
"tsunami": 0,
"sig": 5,
"net": "nc",
"types": ",nearby-cities,origin,phase-data,",
"nst": 8,
"dmin": 0.01016,
"rms": 0.04,
"gap": 122,
"magType": "md",
"type": "earthquake",
"title": "M 0.6 - 0 km of The Geysers, CA",
"coordinates": [
-122.75666809082,
38.7779998779297
]
},
{
"mag": 0.77,
"place": "4 km NNW of The Geysers, CA",
"time": 1740082221410,
"status": "automatic",
"tsunami": 0,
"sig": 9,
"net": "nc",
"types": ",nearby-cities,origin,phase-data,",
"nst": 7,
"dmin": 0.006593,
"rms": 0.01,
"gap": 141,
"magType": "md",
"type": "earthquake",
"title": "M 0.8 - 4 km NNW of The Geysers, CA",
"coordinates": [
-122.78116607666,
38.8066673278809
]
},
{
"mag": 0.76,
"place": "9 km NW of The Geysers, CA",
"time": 1740082075350,
"status": "automatic",
"tsunami": 0,
"sig": 9,
"net": "nc",
"types": ",nearby-cities,origin,phase-data,",
"nst": 12,
"dmin": 0.005851,
"rms": 0.02,
"gap": 80,
"magType": "md",
"type": "earthquake",
"title": "M 0.8 - 9 km NW of The Geysers, CA",
"coordinates": [
-122.842498779297,
38.8226661682129
]
},
{
"mag": 1.8,
"place": "47 km ENE of Susitna North, Alaska",
"time": 1740081957855,
"status": "automatic",
"tsunami": 0,
"sig": 50,
"net": "ak",
"types": ",origin,phase-data,",
"rms": 0.79,
"magType": "ml",
"type": "earthquake",
"title": "M 1.8 - 47 km ENE of Susitna North, Alaska",
"coordinates": [
-149.0437,
62.3668
]
},
{
"mag": 3.14,
"place": "73 km N of Brenas, Puerto Rico",
"time": 1740081663500,
"status": "reviewed",
"tsunami": 0,
"sig": 152,
"net": "pr",
"types": ",origin,phase-data,",
"nst": 10,
"dmin": 0.8083,
"rms": 0.23,
"gap": 271,
"magType": "md",
"type": "earthquake",
"title": "M 3.1 - 73 km N of Brenas, Puerto Rico",
"coordinates": [
-66.3835,
19.1311666666667
]
}
]
}
}<Root>
<status>ok</status>
<error />
<data>
<earthquakes_LastUpdated>1740085202</earthquakes_LastUpdated>
<earthquakes_LastHour>13</earthquakes_LastHour>
<earthquakes>
<mag>1.63</mag>
<place>4 km SSW of Home Gardens, CA</place>
<time>1740084740320</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>41</sig>
<net>ci</net>
<types>,nearby-cities,origin,phase-data,scitech-link,</types>
<nst>30</nst>
<dmin>0.07665</dmin>
<rms>0.16</rms>
<gap>212</gap>
<magType>ml</magType>
<type>earthquake</type>
<title>M 1.6 - 4 km SSW of Home Gardens, CA</title>
<coordinates>-117.5313333</coordinates>
<coordinates>33.8441667</coordinates>
</earthquakes>
<earthquakes>
<mag>1.53</mag>
<place>3 km of The Geysers, CA</place>
<time>1740084398050</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>36</sig>
<net>nc</net>
<types>,focal-mechanism,nearby-cities,origin,phase-data,</types>
<nst>31</nst>
<dmin>0.01013</dmin>
<rms>0.04</rms>
<gap>61</gap>
<magType>md</magType>
<type>earthquake</type>
<title>M 1.5 - 3 km of The Geysers, CA</title>
<coordinates>-122.770835876465</coordinates>
<coordinates>38.8066673278809</coordinates>
</earthquakes>
<earthquakes>
<mag>1.5</mag>
<place>36 km SSW of Los Ybanez, Texas</place>
<time>1740083760065</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>35</sig>
<net>tx</net>
<types>,origin,phase-data,</types>
<nst>21</nst>
<dmin>0</dmin>
<rms>0.5</rms>
<gap>98</gap>
<magType>ml</magType>
<type>earthquake</type>
<title>M 1.5 - 36 km SSW of Los Ybanez, Texas</title>
<coordinates>-102.118</coordinates>
<coordinates>32.437</coordinates>
</earthquakes>
<earthquakes>
<mag>1.28</mag>
<place>2 km NNE of Rancho San Diego, CA</place>
<time>1740083416660</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>25</sig>
<net>ci</net>
<types>,nearby-cities,origin,phase-data,scitech-link,</types>
<nst>18</nst>
<dmin>0.02613</dmin>
<rms>0.18</rms>
<gap>117</gap>
<magType>ml</magType>
<type>earthquake</type>
<title>M 1.3 - 2 km NNE of Rancho San Diego, CA</title>
<coordinates>-116.9288333</coordinates>
<coordinates>32.7591667</coordinates>
</earthquakes>
<earthquakes>
<mag>1.3</mag>
<place>2 km N of The Geysers, CA</place>
<time>1740083145550</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>26</sig>
<net>nc</net>
<types>,nearby-cities,origin,phase-data,</types>
<nst>17</nst>
<dmin>0.008002</dmin>
<rms>0.02</rms>
<gap>75</gap>
<magType>md</magType>
<type>earthquake</type>
<title>M 1.3 - 2 km N of The Geysers, CA</title>
<coordinates>-122.758499145508</coordinates>
<coordinates>38.792667388916</coordinates>
</earthquakes>
<earthquakes>
<mag>2.03</mag>
<place>23 km NE of San Ardo, CA</place>
<time>1740083087170</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>63</sig>
<net>nc</net>
<types>,nearby-cities,origin,phase-data,</types>
<nst>24</nst>
<dmin>0.04482</dmin>
<rms>0.08</rms>
<gap>78</gap>
<magType>md</magType>
<type>earthquake</type>
<title>M 2.0 - 23 km NE of San Ardo, CA</title>
<coordinates>-120.757835388184</coordinates>
<coordinates>36.1879997253418</coordinates>
</earthquakes>
<earthquakes>
<mag>1.5</mag>
<place>18 km N of Nellis Air Force Base, Nevada</place>
<time>1740082632669</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>35</sig>
<net>nn</net>
<types>,origin,phase-data,</types>
<nst>12</nst>
<dmin>0.142</dmin>
<rms>0.352</rms>
<gap>324.6699999999999</gap>
<magType>ml</magType>
<type>earthquake</type>
<title>M 1.5 - 18 km N of Nellis Air Force Base, Nevada</title>
<coordinates>-115.0204</coordinates>
<coordinates>36.4137</coordinates>
</earthquakes>
<earthquakes>
<mag>2.4</mag>
<place>42 km ENE of Susitna North, Alaska</place>
<time>1740082487421</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>89</sig>
<net>ak</net>
<types>,origin,phase-data,</types>
<rms>0.58</rms>
<magType>ml</magType>
<type>earthquake</type>
<title>M 2.4 - 42 km ENE of Susitna North, Alaska</title>
<coordinates>-149.1448</coordinates>
<coordinates>62.358</coordinates>
</earthquakes>
<earthquakes>
<mag>0.58</mag>
<place>0 km of The Geysers, CA</place>
<time>1740082396860</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>5</sig>
<net>nc</net>
<types>,nearby-cities,origin,phase-data,</types>
<nst>8</nst>
<dmin>0.01016</dmin>
<rms>0.04</rms>
<gap>122</gap>
<magType>md</magType>
<type>earthquake</type>
<title>M 0.6 - 0 km of The Geysers, CA</title>
<coordinates>-122.75666809082</coordinates>
<coordinates>38.7779998779297</coordinates>
</earthquakes>
<earthquakes>
<mag>0.77</mag>
<place>4 km NNW of The Geysers, CA</place>
<time>1740082221410</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>9</sig>
<net>nc</net>
<types>,nearby-cities,origin,phase-data,</types>
<nst>7</nst>
<dmin>0.006593</dmin>
<rms>0.01</rms>
<gap>141</gap>
<magType>md</magType>
<type>earthquake</type>
<title>M 0.8 - 4 km NNW of The Geysers, CA</title>
<coordinates>-122.78116607666</coordinates>
<coordinates>38.8066673278809</coordinates>
</earthquakes>
<earthquakes>
<mag>0.76</mag>
<place>9 km NW of The Geysers, CA</place>
<time>1740082075350</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>9</sig>
<net>nc</net>
<types>,nearby-cities,origin,phase-data,</types>
<nst>12</nst>
<dmin>0.005851</dmin>
<rms>0.02</rms>
<gap>80</gap>
<magType>md</magType>
<type>earthquake</type>
<title>M 0.8 - 9 km NW of The Geysers, CA</title>
<coordinates>-122.842498779297</coordinates>
<coordinates>38.8226661682129</coordinates>
</earthquakes>
<earthquakes>
<mag>1.8</mag>
<place>47 km ENE of Susitna North, Alaska</place>
<time>1740081957855</time>
<status>automatic</status>
<tsunami>0</tsunami>
<sig>50</sig>
<net>ak</net>
<types>,origin,phase-data,</types>
<rms>0.79</rms>
<magType>ml</magType>
<type>earthquake</type>
<title>M 1.8 - 47 km ENE of Susitna North, Alaska</title>
<coordinates>-149.0437</coordinates>
<coordinates>62.3668</coordinates>
</earthquakes>
<earthquakes>
<mag>3.14</mag>
<place>73 km N of Brenas, Puerto Rico</place>
<time>1740081663500</time>
<status>reviewed</status>
<tsunami>0</tsunami>
<sig>152</sig>
<net>pr</net>
<types>,origin,phase-data,</types>
<nst>10</nst>
<dmin>0.8083</dmin>
<rms>0.23</rms>
<gap>271</gap>
<magType>md</magType>
<type>earthquake</type>
<title>M 3.1 - 73 km N of Brenas, Puerto Rico</title>
<coordinates>-66.3835</coordinates>
<coordinates>19.1311666666667</coordinates>
</earthquakes>
</data>
</Root>status: ok
error:
data:
earthquakes_LastUpdated: 1740085202
earthquakes_LastHour: 13
earthquakes:
- mag: 1.63
place: 4 km SSW of Home Gardens, CA
time: 1740084740320
status: automatic
tsunami: 0
sig: 41
net: ci
types: ',nearby-cities,origin,phase-data,scitech-link,'
nst: 30
dmin: 0.07665
rms: 0.16
gap: 212
magType: ml
type: earthquake
title: M 1.6 - 4 km SSW of Home Gardens, CA
coordinates:
- -117.5313333
- 33.8441667
- mag: 1.53
place: 3 km of The Geysers, CA
time: 1740084398050
status: automatic
tsunami: 0
sig: 36
net: nc
types: ',focal-mechanism,nearby-cities,origin,phase-data,'
nst: 31
dmin: 0.01013
rms: 0.04
gap: 61
magType: md
type: earthquake
title: M 1.5 - 3 km of The Geysers, CA
coordinates:
- -122.770835876465
- 38.8066673278809
- mag: 1.5
place: 36 km SSW of Los Ybanez, Texas
time: 1740083760065
status: automatic
tsunami: 0
sig: 35
net: tx
types: ',origin,phase-data,'
nst: 21
dmin: 0
rms: 0.5
gap: 98
magType: ml
type: earthquake
title: M 1.5 - 36 km SSW of Los Ybanez, Texas
coordinates:
- -102.118
- 32.437
- mag: 1.28
place: 2 km NNE of Rancho San Diego, CA
time: 1740083416660
status: automatic
tsunami: 0
sig: 25
net: ci
types: ',nearby-cities,origin,phase-data,scitech-link,'
nst: 18
dmin: 0.02613
rms: 0.18
gap: 117
magType: ml
type: earthquake
title: M 1.3 - 2 km NNE of Rancho San Diego, CA
coordinates:
- -116.9288333
- 32.7591667
- mag: 1.3
place: 2 km N of The Geysers, CA
time: 1740083145550
status: automatic
tsunami: 0
sig: 26
net: nc
types: ',nearby-cities,origin,phase-data,'
nst: 17
dmin: 0.008002
rms: 0.02
gap: 75
magType: md
type: earthquake
title: M 1.3 - 2 km N of The Geysers, CA
coordinates:
- -122.758499145508
- 38.792667388916
- mag: 2.03
place: 23 km NE of San Ardo, CA
time: 1740083087170
status: automatic
tsunami: 0
sig: 63
net: nc
types: ',nearby-cities,origin,phase-data,'
nst: 24
dmin: 0.04482
rms: 0.08
gap: 78
magType: md
type: earthquake
title: M 2.0 - 23 km NE of San Ardo, CA
coordinates:
- -120.757835388184
- 36.1879997253418
- mag: 1.5
place: 18 km N of Nellis Air Force Base, Nevada
time: 1740082632669
status: automatic
tsunami: 0
sig: 35
net: nn
types: ',origin,phase-data,'
nst: 12
dmin: 0.142
rms: 0.352
gap: 324.67
magType: ml
type: earthquake
title: M 1.5 - 18 km N of Nellis Air Force Base, Nevada
coordinates:
- -115.0204
- 36.4137
- mag: 2.4
place: 42 km ENE of Susitna North, Alaska
time: 1740082487421
status: automatic
tsunami: 0
sig: 89
net: ak
types: ',origin,phase-data,'
rms: 0.58
magType: ml
type: earthquake
title: M 2.4 - 42 km ENE of Susitna North, Alaska
coordinates:
- -149.1448
- 62.358
- mag: 0.58
place: 0 km of The Geysers, CA
time: 1740082396860
status: automatic
tsunami: 0
sig: 5
net: nc
types: ',nearby-cities,origin,phase-data,'
nst: 8
dmin: 0.01016
rms: 0.04
gap: 122
magType: md
type: earthquake
title: M 0.6 - 0 km of The Geysers, CA
coordinates:
- -122.75666809082
- 38.7779998779297
- mag: 0.77
place: 4 km NNW of The Geysers, CA
time: 1740082221410
status: automatic
tsunami: 0
sig: 9
net: nc
types: ',nearby-cities,origin,phase-data,'
nst: 7
dmin: 0.006593
rms: 0.01
gap: 141
magType: md
type: earthquake
title: M 0.8 - 4 km NNW of The Geysers, CA
coordinates:
- -122.78116607666
- 38.8066673278809
- mag: 0.76
place: 9 km NW of The Geysers, CA
time: 1740082075350
status: automatic
tsunami: 0
sig: 9
net: nc
types: ',nearby-cities,origin,phase-data,'
nst: 12
dmin: 0.005851
rms: 0.02
gap: 80
magType: md
type: earthquake
title: M 0.8 - 9 km NW of The Geysers, CA
coordinates:
- -122.842498779297
- 38.8226661682129
- mag: 1.8
place: 47 km ENE of Susitna North, Alaska
time: 1740081957855
status: automatic
tsunami: 0
sig: 50
net: ak
types: ',origin,phase-data,'
rms: 0.79
magType: ml
type: earthquake
title: M 1.8 - 47 km ENE of Susitna North, Alaska
coordinates:
- -149.0437
- 62.3668
- mag: 3.14
place: 73 km N of Brenas, Puerto Rico
time: 1740081663500
status: reviewed
tsunami: 0
sig: 152
net: pr
types: ',origin,phase-data,'
nst: 10
dmin: 0.8083
rms: 0.23
gap: 271
magType: md
type: earthquake
title: M 3.1 - 73 km N of Brenas, Puerto Rico
coordinates:
- -66.3835
- 19.1311666666667Response Structure
All API responses follow a consistent structure with the following fields:
| Field | Type | Description | Example |
|---|---|---|---|
| status | string | Indicates whether the request was successful ("ok") or failed ("error") | ok |
| error | string | null | Contains error message if status is "error", otherwise null | null |
| data | object | null | Contains the API response data if successful, otherwise null | {...} |
Response Data Fields
When the request is successful, the data object contains the following fields:
| Field | Type | Sample Value |
|---|---|---|
| earthquakes_LastUpdated | number | 1740085202 |
| earthquakes_LastHour | number | 13 |
| earthquakes | array | [{"mag":1.63,"place":"4 km SSW of Home Gardens, CA","time":1740084740320,"status":"automatic","tsunami":0,"sig":41,"net":"ci","types":",nearby-cities,origin,phase-data,scitech-link,","nst":30,"dmin":0.07665,"rms":0.16,"gap":212,"magType":"ml","type":"earthquake","title":"M 1.6 - 4 km SSW of Home Gardens, CA","coordinates":[-117.5313333,33.8441667]}, ...] |
Headers
Required and optional headers for API requests:
| Header Name | Required | Example Value | Description |
|---|---|---|---|
| X-API-Key | Yes | your_api_key_here | Your APIVerve API key. Found in your dashboard under API Keys. |
| Accept | No | application/json | Specify response format: application/json (default), application/xml, or application/yaml |
| User-Agent | No | MyApp/1.0 | Identifies your application for analytics and debugging purposes |
| X-Request-ID | No | req_123456789 | Custom request identifier for tracking and debugging requests |
| Cache-Control | No | no-cache | Control caching behavior for the request and response |
Client Libraries
To get started with minimal code, most of our APIs are available through client libraries and clients:
Error Codes
The API uses standard HTTP status codes to indicate success or failure:
| Status Code | Message | Description |
|---|---|---|
| 200 | OK | Request successful, data returned |
| 400 | Bad Request | Invalid request parameters or malformed request |
| 401 | Unauthorized | Missing or invalid API key |
| 403 | Forbidden | API key does not have permission for this endpoint |
| 429 | Too Many Requests | Rate limit exceeded, please slow down requests |
| 500 | Internal Server Error | Server error, please try again later |
Was this page helpful?
Help us improve our documentation




