Apache Thrift · Example Payload
Thrift Calculator Service Example
A complete example of the classic Apache Thrift tutorial Calculator service, showing IDL constructs converted to JSON representation
ApacheCode GenerationCross-LanguageOpen-SourceRPCSDKSerializationThrift
Thrift Calculator Service Example is an example object payload from Apache Thrift, with 11 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
titledescriptionsourceidl_sourcenamespaceincludesconstantsenumsstructsexceptionsservices
Example Payload
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/thrift-calculator-service-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.