Search Clips
Search for a specific clip with a caption that includes the query (max 12 results)
Params
Name | Type | Default | Description |
---|---|---|---|
query (required) | string | – | The search query |
Usage
- Python
- PHP
- cURL
from rocketapi import InstagramAPI
instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.search_clips(query="real estate"))
<?php
require('vendor/autoload.php');
use RocketAPI\InstagramAPI;
$api = new InstagramAPI('your-api-key');
print_r($api->searchClips('real estate'));
curl --request POST \
--url https://v1.rocketapi.io/instagram/media/search_clips \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"query": "real estate"
}'
Response example
Loading...