GraphQL to REST Mapping
Extract operations, aliases, fragments and argument values. Choose proposed HTTP methods and paths and export Markdown, JSON or an OpenAPI draft.
Map GraphQL Operations to Draft REST Routes
Draft a REST plan from GraphQL operations. The generated routes describe proposed behavior for a target API.
GraphQL to REST Mapping: how to use it
- Paste GraphQL operations or open a saved file. Set a relative REST base path and subscription transport.
- Select Draft REST mapping and review the suggested methods, paths, argument locations and aliases.
- Edit any route to match your API design. Export a Markdown table, JSON mapping or OpenAPI draft.
Limits and notes
160,000 input characters, 18,000 GraphQL tokens, 50 operations and 120 top-level fields. Nesting and expansion are bounded. OpenAPI exports document streaming separately as an extension.
How your privacy works →GraphQL to REST Mapping: common questions
How does the tool choose a method?
Queries default to GET. Common mutation prefixes propose POST, PATCH, PUT or DELETE. Update a row if your API follows a different design.
Does the suggested route already exist?
The tool drafts conventions from the operation and your edits. Verify the actual contract, authorization, status codes and responses with your API team.
What happens to GraphQL aliases and fragments?
An alias stays visible as the source response key. The mapper expands top-level fragment and inline-fragment selections and records the type conditions.