Apache Thrift website screenshot

Apache Thrift

Apache Thrift is a software framework for scalable cross-language services development. It provides an interface definition language (IDL) and code generation engine for building RPC services that work efficiently across C++, Java, Python, PHP, Ruby, Erlang, Go, JavaScript, Node.js, Haskell, C#, Cocoa, Delphi, and many more languages. Originally developed at Facebook, Thrift is now an Apache Software Foundation top-level project used for high-performance internal microservices and APIs.

Apache Thrift publishes 2 APIs on the APIs.io network. Tagged areas include Code Generation, Cross-Language, IDL, RPC, and Serialization.

The Apache Thrift catalog on APIs.io includes 1 Spectral governance ruleset.

Apache Thrift’s developer surface includes documentation, developer portal, getting-started guide, release notes, and 6 more developer resources.

38.5/100 thin ▬ flat Agent 3/100 human only Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemium
2 APIs 6 Features 3 Use Cases
Code GenerationCross-LanguageIDLRPCSerializationOpen Source

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 38.5/100 · thin
Contract Quality 2.4 / 25
Developer Ergonomics 7.0 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 6.2 / 13
Governance 7.0 / 12
Discoverability 5.9 / 10
Agent readiness — 3/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/apache-thrift: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 2

Individual APIs this provider publishes, each with its own machine-readable definition.

Apache Thrift IDL

The Thrift Interface Definition Language (IDL) is used to define data types and service interfaces in a language-neutral format. A .thrift file defines structs, enums, exception...

Apache Thrift Server API

The Thrift Server API provides server implementations for hosting Thrift services including TSimpleServer (single-threaded), TThreadedServer, TThreadPoolServer, and TNonblocking...

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Apache Thrift Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Features 6

Notable capabilities this provider offers.

Cross-Language Code Generation

Generate client and server stubs for 20+ programming languages from a single IDL file.

Binary Serialization

Compact binary serialization (TCompactProtocol) for high-performance inter-service communication.

Multiple Transports

TSocket, TFramedTransport, TFileTransport, TZlibTransport, and TMemoryBuffer transports.

Multiple Protocols

TBinaryProtocol, TCompactProtocol, TJSONProtocol, and TSimpleJSONProtocol serialization formats.

Async Server Support

Non-blocking async server (TNonblockingServer) for high-throughput service deployments.

Versioned Schema Evolution

Optional and default fields enable backward-compatible schema evolution across service versions.

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Apache Thrift API Rules

6 rules · 5 warnings 1 info

SPECTRAL

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Apache Thrift Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Apache Thrift Vulnerability Disclosure

security.txt · contact published

SECURITY

Use Cases 3

What developers build with this provider.

Internal Microservices

High-performance binary RPC between internal microservices in polyglot environments.

Cross-Language APIs

Type-safe APIs that work identically across Java, Python, C++, and other languages.

Distributed Systems

Service mesh and distributed system communication with efficient binary serialization.

Integrations 3

Pre-built integrations with other platforms and tools.

Apache Cassandra

Cassandra uses Thrift (legacy) and CQL for client communication.

Apache HBase

HBase Thrift gateway for non-Java clients to access HBase.

Apache Hadoop

Hive Thrift server provides JDBC/ODBC access to Hive via Thrift protocol.

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Build 3

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Source (apis.yml)

apis.yml Raw ↑
aid: apache-thrift
name: Apache Thrift
description: Apache Thrift is a software framework for scalable cross-language services development. It provides an interface
  definition language (IDL) and code generation engine for building RPC services that work efficiently across C++, Java, Python,
  PHP, Ruby, Erlang, Go, JavaScript, Node.js, Haskell, C#, Cocoa, Delphi, and many more languages. Originally developed at
  Facebook, Thrift is now an Apache Software Foundation top-level project used for high-performance internal microservices
  and APIs.
type: Index
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
position: Consumer
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/apache-thrift.png
tags:
- Code Generation
- Cross-Language
- IDL
- RPC
- Serialization
- Open Source
created: '2026-03-16'
modified: '2026-04-19'
url: https://raw.githubusercontent.com/api-evangelist/apache-thrift/refs/heads/main/apis.yml
specificationVersion: '0.19'
apis:
- aid: apache-thrift:apache-thrift-idl
  name: Apache Thrift IDL
  description: The Thrift Interface Definition Language (IDL) is used to define data types and service interfaces in a language-neutral
    format. A .thrift file defines structs, enums, exceptions, typedefs, constants, and services with typed method signatures.
    The thrift compiler generates client and server code from .thrift files for over 20 target languages including Java, Python,
    C++, Go, JavaScript, PHP, Ruby, Erlang, and Haskell.
  humanURL: https://thrift.apache.org/docs/idl.html
  tags:
  - IDL
  - Code Generation
  - RPC
  - Cross-Language
  properties:
  - type: Documentation
    url: https://thrift.apache.org/docs/idl.html
  - type: Documentation
    url: https://thrift.apache.org/docs/types.html
  - type: JSONSchema
    url: json-schema/thrift-idl.yml
- aid: apache-thrift:apache-thrift-server-api
  name: Apache Thrift Server API
  description: The Thrift Server API provides server implementations for hosting Thrift services including TSimpleServer (single-threaded),
    TThreadedServer, TThreadPoolServer, and TNonblockingServer (async I/O). Thrift supports multiple transport protocols (TBinaryProtocol,
    TCompactProtocol, TJSONProtocol) over various transports (TSocket, TFramedTransport, TFileTransport, TZlibTransport) enabling
    flexible deployment configurations.
  humanURL: https://thrift.apache.org/docs/concepts.html
  tags:
  - Server
  - RPC
  - Protocol
  - Transport
  properties:
  - type: Documentation
    url: https://thrift.apache.org/docs/concepts.html
common:
- type: VulnerabilityDisclosure
  url: security/apache-thrift-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/apache-thrift-domain-security.yml
- type: GitHubRepository
  url: https://github.com/apache/thrift
- type: Documentation
  url: https://thrift.apache.org/docs/
- type: Portal
  url: https://thrift.apache.org/
- type: GettingStarted
  url: https://thrift.apache.org/tutorial/
- type: ReleaseNotes
  url: https://github.com/apache/thrift/releases
- type: TermsOfService
  url: https://www.apache.org/licenses/
- type: SDKs
  url: https://pypi.org/project/thrift/
  title: Python Package
- type: SDKs
  url: https://search.maven.org/search?q=org.apache.thrift
  title: Java Maven Package
- type: Features
  data:
  - name: Cross-Language Code Generation
    description: Generate client and server stubs for 20+ programming languages from a single IDL file.
  - name: Binary Serialization
    description: Compact binary serialization (TCompactProtocol) for high-performance inter-service communication.
  - name: Multiple Transports
    description: TSocket, TFramedTransport, TFileTransport, TZlibTransport, and TMemoryBuffer transports.
  - name: Multiple Protocols
    description: TBinaryProtocol, TCompactProtocol, TJSONProtocol, and TSimpleJSONProtocol serialization formats.
  - name: Async Server Support
    description: Non-blocking async server (TNonblockingServer) for high-throughput service deployments.
  - name: Versioned Schema Evolution
    description: Optional and default fields enable backward-compatible schema evolution across service versions.
- type: UseCases
  data:
  - name: Internal Microservices
    description: High-performance binary RPC between internal microservices in polyglot environments.
  - name: Cross-Language APIs
    description: Type-safe APIs that work identically across Java, Python, C++, and other languages.
  - name: Distributed Systems
    description: Service mesh and distributed system communication with efficient binary serialization.
- type: Integrations
  data:
  - name: Apache Cassandra
    description: Cassandra uses Thrift (legacy) and CQL for client communication.
  - name: Apache HBase
    description: HBase Thrift gateway for non-Java clients to access HBase.
  - name: Apache Hadoop
    description: Hive Thrift server provides JDBC/ODBC access to Hive via Thrift protocol.
maintainers:
- FN: Kin Lane
  email: info@apievangelist.com