Getting Started

Introduction to APIS Developer tools

APIS endpoints are built from each individual blockchain interface ground up, so you may incrementally adopt the APIS Extended or APIS Unified endpoints, even if you're using another blockchain native provider.

Migrating From Another Provider

For Ethereum

Set (or swap out) your current web3 provider:

Using HTTPS

const Web3 = require('web3');
const web3 = new Web3('https://api.theapis.io/api/v1/rpc/ethereum?apiKey=<API_KEY>&network=rinkeby');

Using Websockets

const Web3 = require('web3');
const apisWebsocketProvider = new Web3.providers.WebsocketProvider('wss://api.theapis.io/api/v1/rpc/ethereum?network=rinkeby');
const web3 = new Web3(apisWebsocketProvider);

For Bitcoin

Set (or swap out) your current Bitcoin JSON-RPC provider for the APIS:

https://api.theapis.io/api/v1/rpc/bitcoin?apiKey=<API_KEY>&network=testnet