Account API
nexmo · Company
Enables users to manage their Vonage API Account by programmable means. More information is available here: .
Authentication
Sample Requests
Retrieve the current balance of your Vonage API account
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/account/get-balance?api_key=abcd1234&api_secret=ABCDEFGH01234abc"
import requests
params = {
"api_key": "abcd1234",
"api_secret": "ABCDEFGH01234abc"
}
response = requests.get(
"https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/account/get-balance",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/account/get-balance');
url.searchParams.set('api_key', 'abcd1234');
url.searchParams.set('api_secret', 'ABCDEFGH01234abc');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/account/get-balance")
q := baseURL.Query()
q.Set("api_key", "abcd1234")
q.Set("api_secret", "ABCDEFGH01234abc")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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/nexmo.com/account/1.0.4/account/get-balance")
uri.query = URI.encode_www_form({
"api_key" => "abcd1234",
"api_secret" => "ABCDEFGH01234abc"
})
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/nexmo.com/account/1.0.4/account/get-balance?" . http_build_query([
"api_key" => "abcd1234",
"api_secret" => "ABCDEFGH01234abc"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieve API Secrets
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/accounts/{api_key}/secrets"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/accounts/{api_key}/secrets",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/accounts/{api_key}/secrets';
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/nexmo.com/account/1.0.4/accounts/{api_key}/secrets"
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/nexmo.com/account/1.0.4/accounts/{api_key}/secrets")
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/nexmo.com/account/1.0.4/accounts/{api_key}/secrets";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieve one API Secret
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/accounts/{api_key}/secrets/{secret_id}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/accounts/{api_key}/secrets/{secret_id}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/nexmo.com/account/1.0.4/accounts/{api_key}/secrets/{secret_id}';
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/nexmo.com/account/1.0.4/accounts/{api_key}/secrets/{secret_id}"
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/nexmo.com/account/1.0.4/accounts/{api_key}/secrets/{secret_id}")
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/nexmo.com/account/1.0.4/accounts/{api_key}/secrets/{secret_id}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Account API?
Account 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. Account API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?