🤩Fetch mentions from Social networks and the internet
This functionality enables you to monitor your brand's presence, track discussions about specific topics, or analyze sentiment across networks.
Making a Request to the /search Endpoint
/search EndpointTo request mentions from a specific network, you'll use the /search endpoint. This endpoint expects a POST request with a JSON body containing the network you're interested in and the keyword you're tracking.
Required Parameters
network: A string indicating the social media network from which to fetch mentions. Valid options are
"twitter", "indiehacker", "medium", "pinterest", "internet", "news", "youtube" and"reddit".keyword: The keyword or phrase you want to track mentions for.
Example Request
Below is an example of how to make a request using curl to fetch mentions from Twitter for the keyword "Buska":
codecurl -X POST https://api.buska.io/api/routes/search \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY_HERE" \
-d '{"network": "twitter", "keyword": "Buska"}'Replace YOUR_API_KEY_HERE with your actual API key and adjust the network and keyword as needed for your search.
Response Format
The response will be a JSON object containing the success status, the network queried, and the results:
results {
"success": true,
"network": "twitter",
"results": [
// Array of mention objects specific to the requested network
]
}This is an example on Reddit:
This is an example on Twitter:
Notes and Restrictions
Keyword Restrictions: Your request must use a keyword that is included in your team's keyword list unless your team is on a "Custom Plan", which allows for unrestricted keyword searches.
Rate Limiting: Be mindful of any rate limits that apply to your account to avoid disruptions in service.
Handling Errors: If the network is unsupported, the keyword is missing, or another error occurs, the API will return an error message detailing the issue.
Last updated