Get Info
Retrieve hashtag information by hashtag name.
Params
Name | Type | Default | Description |
---|---|---|---|
name (required) | string | – | Hashtag name |
Usage
- Python
- PHP
- cURL
from rocketapi import InstagramAPI
instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_hashtag_info("catsofinstagram"))
<?php
require('vendor/autoload.php');
use RocketAPI\InstagramAPI;
$api = new InstagramAPI('your-api-key');
print_r($api->getHashtagInfo("catsofinstagram"));
curl --request POST \
--url https://v1.rocketapi.io/instagram/hashtag/get_info \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"name": "catsofinstagram"
}'
Response example
Loading...