Documentation

Integration guides and API reference for each endpoint. All documentation lives on RapidAPI.

Quick Start

1

Get an API Key

Sign up for a free RapidAPI account and subscribe to the APIs you want to use.

Browse APIs
2

Make a Request

Use your API key in the X-RapidAPI-Key header. Check each API reference for endpoint details.

See API Reference below
3

Parse JSON

Every response is structured JSON. Parse it directly without string manipulation.

Consistent format across all APIs

Example Request

cURL
curl -X POST "https://..." \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: ..." \
  -H "Content-Type: application/json" \
  -d '{"text": "..."}'
Response
{"success": true, "data": {...}}

API Reference by Endpoint

Each API has detailed documentation on RapidAPI including request parameters, response formats, and example code in multiple languages.

Common Integration Patterns

JavaScript / Node.js
const response = await fetch(
  "https://social-media-brand-sentiment-monitor-api.p.rapidapi.com/api/analyze",
  {
    method: "POST",
    headers: {
      "X-rapidapi-key": "YOUR_API_KEY",
      "x-rapidapi-host": "social-media-brand-sentiment-monitor-api.p.rapidapi.com",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      text: "Just got my order from AcmeCo — packaging was beautiful and ...",
    }),
  }
);

// Returns sentiment analysis response
Python
import requests

url = "https://social-media-brand-sentiment-monitor-api.p.rapidapi.com/api/analyze"

payload = { "text": "Just got my order from AcmeCo — packaging was beautiful and ..." }
headers = {
    "x-rapidapi-key": "YOUR_API_KEY",
    "x-rapidapi-host": "social-media-brand-sentiment-monitor-api.p.rapidapi.com",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)
# Returns sentiment analysis response
Error Handling
// Check if response is OK
if (!response.ok) {
    const error = await response.json();
    // Handle rate limits, auth errors, etc.
}

// All errors return: { "error": "...", "message": "..." }

Need Help?

Each API page on RapidAPI has detailed documentation and example code.