API Integration Guide: How to Connect Social Panel Pro with Your Own Platform

Post by admin
API Integration Guide: How to Connect Social Panel Pro with Your Own Platform

Want to automate your SMM orders? Stop copying and pasting. Let your system do the work.

Social Panel Pro offers a powerful API that lets you connect your own website, mobile app, or reseller panel directly to our services. Once integrated, you can place orders, check status, and manage refills — all programmatically.


This guide walks you through everything you need to get started.

Who Should Use the API?

Our API is designed for users who want to scale their operations. It's ideal for:

  • SMM Resellers: Run your own panel and fulfill orders automatically through Social Panel Pro

  • Digital Marketing Agencies: Integrate SMM services into your client dashboard

  • App Developers: Build mobile apps that offer social media growth services

  • Freelancers: Automate repetitive order tasks and save time

  • E-commerce Platforms: Add SMM services as a product category

If you're placing more than 10 orders per day, API integration will save you significant time.

Before You Start

Make sure you have these prerequisites ready:

  1. Active Account: Sign up at socialpanel.pro if you haven't already

  2. Funded Balance: Add funds via bKash, Nagad, Rocket, or card (see our payment security guide)

  3. API Key: Find this in your account dashboard under "API" section

  4. Basic Programming Knowledge: Familiarity with HTTP requests (PHP, Python, JavaScript, or any language)

Getting Your API Key

Your API key is your authentication credential. Keep it secure — anyone with your key can place orders using your balance.

To find your API key:

  1. Log into your Social Panel Pro account

  2. Navigate to the API page (socialpanel.pro/api)

  3. Copy your unique API key

  4. Store it securely in your application's environment variables

Security Tip: Never expose your API key in client-side code or public repositories.

API Endpoint and Request Format

All API requests go to a single endpoint:

https://socialpanel.pro/api/v2

Request specifications:

  • Method: POST

  • Content-Type: application/json

  • Response Format: JSON

Available API Actions

The API supports several actions. Each requires your API key plus action-specific parameters.

1. Check Your Balance

Before placing orders, verify your available funds.

Request:

{

  "key": "YOUR_API_KEY",

  "action": "balance"

}

Response:

{

  "balance": "100.84292",

  "currency": "USD"

}

2. Get Available Services

Retrieve all services with their IDs, prices, and limits. You'll need the service ID to place orders.

Request:

{

  "key": "YOUR_API_KEY",

  "action": "services"

}

Response (example):

[

  {

    "service": 1,

    "name": "Instagram Followers",

    "type": "Default",

    "rate": "0.90",

    "min": "50",

    "max": "10000",

    "refill": true,

    "cancel": true

  }

]

Response fields explained:

  • service: Unique ID (use this when placing orders)

  • rate: Price per 1000 units (in USD)

  • min/max: Minimum and maximum order quantity

  • refill: Whether refill requests are supported

  • cancel: Whether order cancellation is possible

3. Place a New Order

Submit an order for any available service.

Request:

{

  "key": "YOUR_API_KEY",

  "action": "add",

  "service": 1,

  "link": "https://instagram.com/username",

  "quantity": 1000

}

Response:

{

  "order": 123456

}

Save the order ID to track status later.

4. Check Order Status

Track the progress of your order using its ID.

Request:

{

  "key": "YOUR_API_KEY",

  "action": "status",

  "order": 123456

}

Response:

{

  "charge": "0.90",

  "start_count": "1000",

  "status": "Completed",

  "remains": "0"

}

Possible status values:

  • Pending: Waiting to start

  • Processing: Order in progress

  • In progress: Actively delivering

  • Completed: Successfully finished

  • Partial: Partially delivered (remainder refunded)

  • Canceled: Order canceled and refunded

5. Request a Refill

If followers dropped after delivery, request a refill (only for services that support it).

Request:

{

  "key": "YOUR_API_KEY",

  "action": "refill",

  "order": 123456

}

Code Examples

Here are working examples in popular programming languages.

PHP Example

<?php

$api_url = 'https://socialpanel.pro/api/v2';


$data = [

    'key' => 'YOUR_API_KEY',

    'action' => 'add',

    'service' => 1,

    'link' => 'https://instagram.com/username',

    'quantity' => 1000

];


$ch = curl_init($api_url);

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);


$response = curl_exec($ch);

curl_close($ch);


$result = json_decode($response, true);

print_r($result);

?>

Python Example

import requests


api_url = 'https://socialpanel.pro/api/v2'


data = {

    'key': 'YOUR_API_KEY',

    'action': 'add',

    'service': 1,

    'link': 'https://instagram.com/username',

    'quantity': 1000

}


response = requests.post(api_url, data=data)

print(response.json())

Important Limitations

Keep these constraints in mind when building your integration:

  • Drip Feed: Not available via API or Mass Order — dashboard only

  • Rate Limits: Avoid excessive requests; implement reasonable delays between calls

  • Balance Check: Always verify sufficient funds before placing orders

  • Service Availability: Services may be temporarily unavailable; handle errors gracefully

Common Errors and Solutions

Invalid API Key

Error: "Invalid API key"

Solution: Double-check your API key. Copy it directly from your dashboard. Ensure no extra spaces.

Insufficient Balance

Error: "Not enough funds"

Solution: Add funds to your account. Check current balance using the balance action.

Invalid Service ID

Error: "Invalid service"

Solution: Fetch the latest services list. Service IDs may change when we update our offerings.

Quantity Out of Range

Error: "Quantity too low" or "Quantity too high"

Solution: Check the min and max values for the service. Adjust your quantity accordingly.

Best Practices for API Integration

  • Cache the services list: Don't fetch it on every order. Update daily or when you encounter unknown service IDs

  • Implement retry logic: Network issues happen. Retry failed requests with exponential backoff

  • Log all responses: Store order IDs and responses for debugging and customer support

  • Validate links before sending: Ensure URLs are properly formatted and profiles are public

  • Monitor your balance: Set up alerts when balance drops below a threshold

Frequently Asked Questions

Can I use the API with a child panel?

Yes. If you rent a child panel from socialpanel.pro/childpanels, you can connect it via API for automated order fulfillment.

Is there a request limit?

We don't enforce strict rate limits, but we recommend spacing requests by at least 1 second. Excessive requests may be temporarily blocked.

What happens if an order fails after submission?

Failed orders are automatically refunded to your balance. Check order status to confirm. Learn more about our incident response process in our dedicated blog post.

Can I cancel an order via API?

Yes, if the service supports cancellation. Use the cancel action with your order ID.

Do you provide API support?

Yes. Contact our support team via WhatsApp (+8801721751301) or email (Socialpanel.pro@gmail.com) for integration assistance.

Start Building Today

Our API is designed to be simple and reliable. Whether you're building a reseller panel, integrating with your agency dashboard, or automating your own workflow — the tools are ready.

Start with the balance check, test a small order, and scale from there.

If you run into any issues, our support team is available 24/7 to help you get up and running.

Ready to automate your SMM business?

Sign up at socialpanel.pro, grab your API key, and start integrating today.

Related Resources: