Search Audios
Search for a specific audio (max 10 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_audios(query="lofi"))
<?php
require('vendor/autoload.php');
use RocketAPI\InstagramAPI;
$api = new InstagramAPI('your-api-key');
print_r($api->searchAudios('lofi'));
curl --request POST \
--url https://v1.rocketapi.io/instagram/audio/search \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"query": "lofi"
}'
Response example
Loading...