Skip to main content
Glama
09-tweets-lookup.md772 B
# Recipe: Fetch “Tweets Lookup” Endpoint Details In the TwitterAPI.io docs, the **Tweets Lookup** endpoint is exposed as: - `endpoint_name`: `get_tweet_by_ids` - `path`: `/twitter/tweets` ## JSON tool call ```json { "tool": "get_twitterapi_endpoint", "arguments": { "endpoint_name": "get_tweet_by_ids" } } ``` ## JavaScript ```js const res = await callTool("get_twitterapi_endpoint", { endpoint_name: "get_tweet_by_ids" }); const details = res.structuredContent ?? {}; console.log(details.method, details.path); ``` ## If you do not know the exact name ```json { "tool": "search_twitterapi_docs", "arguments": { "query": "tweets lookup", "max_results": 5 } } ``` Pick the best `type: "endpoint"` result and call `get_twitterapi_endpoint` using `result.name`.

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/dorukardahan/twitterapi-io-mcp'

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