RapidAPI icon

RapidAPI

Consume any API from RapidAPI

RapidAPI

AI-generated

Summary

Sends an HTTP request to a RapidAPI endpoint using the specified method, URL, query parameters, headers, and optional body. Requires RapidAPI credentials.

Inputs

  • Method — HTTP method for the request. Default: GET. Options: DELETE, GET, PATCH, POST, PUT.
  • URL (required) — Target endpoint URL. Example: https://example.p.rapidapi.com/endpoint.
  • Query Parameters — Key‑value pairs appended to the URL as query string.
  • Headers — Custom HTTP headers sent with the request.
  • Body — JSON payload sent with POST, PUT, or PATCH requests. Hidden for other methods.
  • Request Options — Advanced request settings: batching, SSL verification, proxy, and timeout.

Output shape

object

Returns the HTTP response from RapidAPI, containing status code, headers, and body.

Examples

Example 1: Fetch data from a RapidAPI weather endpoint

Method: GET, URL: https://weather-api.p.rapidapi.com/forecast, Query Parameters: city=London, Headers: (none), Body: (hidden), Request Options: default

Links

Discussion