Relay Compiler website screenshot

Relay Compiler

Relay is Meta's open-source JavaScript framework and ahead-of-time GraphQL compiler for building data-driven React applications. The Relay Compiler scans JavaScript code for GraphQL fragments, aggregates and optimizes data requirements for entire apps, pre-computes queries at build time for efficient runtime performance, and generates TypeScript/Flow types for React components. It supports pagination, mutations, subscriptions, and deferred data streaming via GraphQL directives.

Relay Compiler publishes 2 APIs on the APIs.io network. Tagged areas include Code Generation, GraphQL, React, Meta, and Open-Source.

The Relay Compiler catalog on APIs.io includes 1 JSON-LD context.

Relay Compiler’s developer surface includes documentation, engineering blog, changelog, and 7 more developer resources.

19.5/100 emerging ▬ flat Agent 3/100 human only Full breakdown ↓
scored 2026-08-21 · rubric v0.12.0
AccessFreemium
2 APIs
Code GenerationGraphQLReactMetaOpen-SourceTypeScriptBuild Tools

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-21 · rubric v0.12.0
Composite quality — 19.5/100 · emerging
Contract Quality 2.8 / 25
Developer Ergonomics 2.4 / 20
Access Clarity 3.2 / 20
Operational Transparency 3.4 / 13
Contract Governance 1.8 / 12
Discoverability 5.9 / 10
Agent readiness — 3/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 10
Documented Reversibility 0 / 6
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/relay-compiler: 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.

Relay Compiler

The Relay Compiler is Meta's ahead-of-time GraphQL compiler that generates optimized runtime artifacts and type-safe code for Relay applications. It processes GraphQL fragments ...

Relay Runtime

The Relay Runtime provides the client-side execution environment for Relay applications. It includes the normalized in-memory store, network layer, and React hooks including use...

GraphQL 1

GraphQL schemas published by this provider.

Relay Compiler GraphQL API

The Relay Compiler is Meta's ahead-of-time GraphQL compiler that generates optimized runtime artifacts and type-safe code for Relay applications. It processes GraphQL fragments ...

GRAPHQL

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Relay Compiler Rate Limits

5 limits

RATE LIMITS

FinOps 1

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

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Relay Compiler Context

0 classes · 20 properties

JSON-LD

Security Posture 1

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

Resources

Documentation 1

Reference material describing how the API behaves

Design & Contract 2

Pagination, idempotency, versioning, errors, and events

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 1

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

Company 2

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: relay-compiler
name: Relay Compiler
description: Relay is Meta's open-source JavaScript framework and ahead-of-time GraphQL compiler for building data-driven
  React applications. The Relay Compiler scans JavaScript code for GraphQL fragments, aggregates and optimizes data requirements
  for entire apps, pre-computes queries at build time for efficient runtime performance, and generates TypeScript/Flow types
  for React components. It supports pagination, mutations, subscriptions, and deferred data streaming via GraphQL directives.
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
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/relay-compiler.png
tags:
- Code Generation
- GraphQL
- React
- Meta
- Open-Source
- TypeScript
- Build Tools
tags_raw:
- Code Generation
- GraphQL
- React
- Meta
- Open Source
- TypeScript
- Build Tools
url: https://raw.githubusercontent.com/api-evangelist/relay-compiler/refs/heads/main/apis.yml
created: '2026-03-25'
modified: '2026-05-02'
specificationVersion: '0.23'
apis:
- aid: relay-compiler:relay-compiler
  name: Relay Compiler
  description: The Relay Compiler is Meta's ahead-of-time GraphQL compiler that generates optimized runtime artifacts and
    type-safe code for Relay applications. It processes GraphQL fragments in JavaScript/TypeScript source code, aggregates
    data requirements, optimizes queries, and generates TypeScript or Flow types. The compiler enforces GraphQL best practices
    including connection patterns, pagination fragments, and data masking.
  humanURL: https://relay.dev
  tags:
  - Compiler
  - GraphQL
  - Code Generation
  - Build Tools
  - TypeScript
  - Flow
  tags_raw:
  - Compiler
  - GraphQL
  - Code Generation
  - Build Tool
  - TypeScript
  - Flow
  properties:
  - type: Documentation
    url: https://relay.dev/docs/
  - type: GettingStarted
    url: https://relay.dev/docs/getting-started/
  - type: APIReference
    url: https://relay.dev/docs/api-reference/graphql-and-directives/
  - type: GitHubRepository
    url: https://github.com/facebook/relay
  - type: ReleaseNotes
    url: https://github.com/facebook/relay/releases
  - url: graphql/relay-compiler-graphql.md
    type: GraphQL
- aid: relay-compiler:relay-runtime
  name: Relay Runtime
  description: The Relay Runtime provides the client-side execution environment for Relay applications. It includes the normalized
    in-memory store, network layer, and React hooks including usePreloadedQuery, useFragment, usePaginationFragment, useRefetchableFragment,
    useMutation, and useSubscription for declarative data-fetching in React components.
  humanURL: https://relay.dev/docs/api-reference/
  tags:
  - Runtime
  - React Hooks
  - State Management
  - GraphQL Client
  - Data Fetching
  properties:
  - type: Documentation
    url: https://relay.dev/docs/api-reference/
  - type: GitHubRepository
    url: https://github.com/facebook/relay
common:
- type: License
  name: MIT
  url: https://github.com/facebook/relay/blob/main/LICENSE
- type: DomainSecurity
  url: security/relay-compiler-domain-security.yml
- type: Website
  url: https://relay.dev
- type: Documentation
  url: https://relay.dev/docs/
- type: GitHubOrganization
  url: https://github.com/facebook/relay
- type: npm Package
  url: https://www.npmjs.com/package/relay-compiler
- type: Blog
  url: https://relay.dev/blog/
- type: ChangeLog
  url: https://github.com/facebook/relay/releases
- type: JSONLDContext
  url: https://raw.githubusercontent.com/api-evangelist/relay-compiler/refs/heads/main/json-ld/relay-compiler-context.jsonld
- type: Vocabulary
  url: https://raw.githubusercontent.com/api-evangelist/relay-compiler/refs/heads/main/vocabulary/relay-compiler-vocabulary.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider 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 providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • 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.
All 92 tools

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/relay-compiler"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/relay-compiler/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/relay-compiler/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.