PHP API Client

Welcome to our PHP Client Library for interacting with our API!

This library streamlines the process of integrating and utilising our services within your PHP applications. Whether you're working on a web app, a data analysis project, or any other software that requires interaction with our API, this guide will help you get started quickly and efficiently.

View source and usage instructions >


Install with COMPOSER
composer require bigdatacloudapi/php-api-client

Manual Installation

  • Download package, extract contents to relevant folder
  • Require "(extracted-location)/src/Client.php" in your PHP script
  • Initiate new client as in below example utilising \BigDataCloud\Api\ namespace

Example usage

//Installed via Composer
require_once __DIR__ . '/vendor/autoload.php';

//Installed manually
//Using composer installed location for example, simply reference the /src/Client.php where extracted/installed instead.
//require_once __DIR__ . '/vendor/bigdatacloudapi/php-api-client/src/Client.php';

$apiKey = "XXX"; // Your api key found at:

$client = new \BigDataCloud\Api\Client($apiKey);

Can specify the api endpoint using either camelised magic methods, or by calling the communicate command directly.
Example magic method: "GET" from "ip-geolocation-full" endpoint becomes: getIpGeolocationFull();



Contact support

If you have any further queries, feel free to contact our email support on our contact us page .


Was this page helpful?