General API Documentation

  1. What do I need to integrate the CompleteAPI.com API with my application?
  2. What format results are supported?
  3. What is JSON?
  4. How can I see my available balance?
  5. Where do I get my API Key?
  6. Why do you only support ZAR and NAD as a payment currency on this site?

1. What do I need to integrate the CompleteAPI.com API with my application?

To use CompleteAPI.com, you make simple HTTP requests that return a JSON Response. That means that any programming language that can do HTTP calls and decode JSON, should work just fine.

For example, with PHP, you can simply use the "file_get_contents" function to call CompleteAPI.com, and then "json_decode" to convert the result into an object. Please see the code section for sample PHP code and a complete class library that makes it even easier to use the API.

2. What format results are supported?

Currently the API only returns JSON.

3. What is JSON?

JSON: JavaScript Object Notation. JSON is a syntax for storing and exchanging data. JSON is text, written with JavaScript object notation.

This is an example of a JSON Response:

{
  api: "CompleteAPI.com Version 1.0",
  status: "success",
  sms_credit_remaining: "19.70",
  geolocate_credits_remaining: "49991",
  whois_credits_remaining: "59"
}

4. How can I see my available balance?

To get your account balances using the API, simply open the following URL:

https://www.completeapi.com/v1/[API_KEY]/balance

5. Where do I get my API Key?

Grab it here.

6. Why do you only support ZAR and NAD as a payment currency on this site?

Our parent company, Namhost, is based in South Africa and Namibia, so we currently accept the currencies we use the most. We do, however, hope to add USD support via PayPal in the near future.

Copyright © Namhost Internet Services (Pty) Ltd | Privacy Policy | Terms of Use