Integrate our platform into your applications with powerful APIs, SDKs, and developer tools
Simple, RESTful API with predictable endpoints and powerful features
https://api.earnflow.com.ng/v1
API Key (Bearer Token)
JSON only
curl -X GET https://api.earnflow.com.ng/v1/user/profile \ -H "Authorization: Bearer YOUR_API_KEY"
Get started quickly with our language-specific SDKs
Quick examples to get you started
// PHP SDK Example
require 'vendor/autoload.php';
use EarnFlow\Client;
$client = new Client([
'api_key' => 'your_api_key_here',
'environment' => 'production'
]);
// Get user balance
$balance = $client->user->getBalance();
echo "Current balance: ₦" . $balance->amount;
// Get available tasks
$tasks = $client->tasks->list([
'platform' => 'instagram',
'limit' => 20
]);
foreach ($tasks as $task) {
echo $task->title . " - ₦" . $task->reward . "\n";
}
// Complete a task
$result = $client->tasks->complete('task_id_here', [
'proof_url' => 'https://instagram.com/p/abc123'
]);
if ($result->success) {
echo "Task completed! Earned ₦" . $result->reward;
}
Common API endpoints to get you started
Get up and running in minutes
Log in to your dashboard and generate an API key from the Developer Settings page.
Generate KeyChoose your preferred language and install the SDK via composer, npm, or pip.
View InstallationTools and resources to help you build
Complete documentation for all API endpoints, parameters, and responses.
Access our open-source SDKs and example projects on GitHub.
Receive real-time notifications for events in your account.
Comprehensive list of error codes and how to handle them.
Understand API rate limits and how to optimize your requests.
Best practices for keeping your API keys and data secure.
Connect with other developers building on EarnFlow. Get help, share ideas, and stay updated.