Introduction
⚡️ RocketAPI is meant to be the easiest social scraping API available on the web.
💸 Building a custom social scraping solution can be expensive and time-consuming. Instead, focus on your business and let RocketAPI do the heavy lifting.
Fast Track ⏱️
Let's discover RocketAPI in less than 5 minutes.
API Key
All requests are authenticated using your private API key.
You can find your API key in dashboard.
Client Libraries
RocketAPI has several official client libraries to help you get started quickly.
Choose your favorite programming language and install the RocketAPI SDK:
Usage Example
The following snippet is an example of simple Instagram Get User Info request:
- Python
- PHP
- cURL
from rocketapi import InstagramAPI
instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_user_info("kyliejenner"))
<?php
require('vendor/autoload.php');
use RocketAPI\InstagramAPI;
$api = new InstagramAPI('your-api-key');
$username = 'kanyewest';
try {
$user = $api->getUserInfo($username);
print_r($user);
} catch (RocketAPI\Exceptions\NotFoundException $e) {
echo "User $username not found\n";
} catch (RocketAPI\Exceptions\BadResponseException $e) {
echo "Can't get $username info from API\n";
}
curl --request POST \
--url https://v1.rocketapi.io/instagram/user/get_info \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"username": "kyliejenner"
}'