Skip to main content
Glama

execute_api_request

Send HTTP requests to any API endpoint using specified methods, paths, query parameters, headers, or body data. Ideal for interacting with REST APIs programmatically.

Instructions

Execute an API request to a specific endpoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRequest body as a JSON object (for POST/PUT/PATCH)
headersNoCustom headers as key-value pairs
methodYesHTTP method (GET, POST, PUT, DELETE, etc.)
paramsNoQuery parameters as key-value pairs
pathYesThe endpoint path (e.g., '/users/123')

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NakiriYuuzu/SwaggerMcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server