RapidAPI logo

Sign Up

Log In

Hearthstone

FREE
By omgvamp
Updated 3 months ago
Entertainment
9.6/10
Popularity Score
826ms
Latency
97%
Success Rate

Hearthstone API Documentation

This API provides up to date Hearthstone data pulled directly from the game.

View API Details
GETInfo
GETAll Cards
GETSingle Card
GETCard Set
GETCards by Class
GETCards by Race
GETCards by Quality
GETCards by Type
GETCards by Faction
GETCard Search
GETCard Backs
GET
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Request Snippet
unirest.("https://omgvamp-hearthstone-v1.p.rapidapi.com")
.header("X-RapidAPI-Host", "omgvamp-hearthstone-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.("https://omgvamp-hearthstone-v1.p.rapidapi.com")
.header("X-RapidAPI-Host", "omgvamp-hearthstone-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication