API Documentation

Everything you need to integrate JerrySniffs into your agents and applications. All endpoints are mounted under /api/v1.

For MCP-compatible agents, use the officially published jerrysniffs-mcp package on npm.

Base URL: https://jerrysniffs.online

Authentication

All product APIs require authentication. Use either the session cookie returned by login or an API token in the Authorization: Bearer header.

Login — obtain session cookie
curl -sS -c cookies.txt "https://jerrysniffs.online/api/v1/auth/login" \ -H "Content-Type: application/json" \ -d '{"email":"[email protected]","password":"your-password"}'
Create API token (requires session)
curl -sS -b cookies.txt "https://jerrysniffs.online/api/v1/auth/api-tokens" \ -H "Content-Type: application/json" \ -d '{"label":"my agent"}'

Store the returned token and use it for all subsequent requests:

Use API token
export TOKEN="your-api-token-here"

Note: You can also create API Token (API Key) on dashboard from the usage page, then pass it to the official jerrysniffs-mcp server.

MCP Setup

Use the official jerrysniffs-mcp package to connect JerrySniffs to MCP-compatible agents. Create an API token from the dashboard first; the MCP server reads it from the API_KEY environment variable and runs over stdio transport.

Install globally
npm install -g jerrysniffs-mcp
Claude Code, Claude Desktop, Cline, PI, and compatible mcp.json clients
{ "mcpServers": { "jerrysniffs": { "command": "npx", "args": ["-y", "jerrysniffs-mcp"], "env": { "API_KEY": "your-api-key-here" } } } }

Note: If you are using PI agent, you might need to tell your LLM to first connect to jerrysniffs MCP by specifically asking for it. This is an issue with PI and only has to be done the first time.

Codex ~/.codex/config.toml
[mcp_servers.jerrysniffs] command = "npx" args = ["-y", "jerrysniffs-mcp"] tool_timeout_sec = 300 [mcp_servers.jerrysniffs.env] API_KEY = "your-api-key-here"

Note: Add both Codex blocks: [mcp_servers.jerrysniffs] and [mcp_servers.jerrysniffs.env].

OpenCode ~/.config/opencode/opencode.json
{ "$schema": "https://opencode.ai/config.json", "mcp": { "jerrysniffs": { "type": "local", "command": ["npx", "-y", "jerrysniffs-mcp"], "enabled": true, "environment": { "API_KEY": "your-api-key-here" } } } }
search twitter_search tweet_lookup reddit_search_posts url_to_markdown
POST /api/v1/url_to_markdown Auth required

URL to Markdown

Fetch any public URL and convert its content to clean, LLM-ready Markdown. Supports an optional proxy for pages that require it.

Request
curl -sS "https://jerrysniffs.online/api/v1/url_to_markdown" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com/article", "proxy": "http://username:[email protected]:8080" }'
ParameterTypeDescription
urlstringThe public URL to fetch and convert.
proxystringOptional HTTP proxy URL (e.g. http://user:pass@host:port).
ok url markdown is_proxy_used
POST /api/v1/tweet_lookup Auth required

Tweet Lookup

Look up a single tweet by its numeric ID. Returns full tweet details including author, text, engagement stats, and media.

Request
curl -sS "https://jerrysniffs.online/api/v1/tweet_lookup" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"id":"1234567890123456789"}'
ParameterTypeDescription
idstringNumeric tweet ID.
ok tweet
GET /api/v1/call_logs Auth required

Call Logs

Search your API invocation logs. Every call to the above endpoints is logged with endpoint, input, output, status, HTTP code, duration, and timestamp. Useful for debugging, auditing, and cost tracking.

Request
curl -sS "https://jerrysniffs.online/api/v1/call_logs?q=searchWeb&page=1&limit=25" \ -H "Authorization: Bearer $TOKEN"
ParameterTypeDescription
qstringPlain text search across endpoint, status, HTTP code, input, output, and error.
endpointstringFilter by exact endpoint name (e.g. searchWeb, urlToMarkdown).
statusstringsuccess or failure.
pagenumber1-based page number.
limitnumberPage size (capped by server config).
sort_bystringcreated_at, endpoint, status, http_code, or duration_ms.
sort_dirstringasc or desc.
rows page limit total totalPages