Welcome

The developer portal for SentimentScan — generated by APIMatic from the same OpenAPI spec that Tollbooth publishes

This is the developer portal for SentimentScan, the demo API listed on the Tollbooth marketplace — generated entirely by APIMatic from the same OpenAPI spec a developer pastes into Tollbooth when publishing.

Tollbooth is the commerce layer for the AI-agent economy: paste an OpenAPI spec, and your API becomes discoverable via MCP, documented in agent-legible form, and monetized per call through PayPal. This portal is the developer-facing half of that story — and it stays automatically in sync as the API evolves.

What's included

Context Plugins

Plugins for coding agents like Claude Code, Cursor, and GitHub Copilot so they — or any buyer agent — can generate accurate, production-ready integration code against SentimentScan.

SDKs

Typed, idiomatic client libraries for C#, TypeScript and Python with authentication built in, engineered for developers and AI agents alike.

API Reference

An API reference with SDK code samples for each operation, and a live API playground to call the API.

Agent-Friendly Docs

Full Markdown documentation alongside llms.txt and llms-full.txt files — the machine-native format Tollbooth serves to buyer agents via its MCP server.

Calling the API through Tollbooth

SDKs here talk to the API directly. To call it the metered way — the flow AI agents use on the marketplace — register an agent, buy a credit pack via PayPal, and send requests through the Tollbooth gateway with your x-api-key:

curl -X POST https://tollbooth-gljd.onrender.com/api/gw/sentimentscan/sentiment \
  -H "Content-Type: application/json" \
  -H "x-api-key: tbk_..." \
  -d '{"text": "I absolutely love this product!"}'

Every successful call is billed from the agent's balance ($0.02 each); failed calls are never billed.

On this page