Skip to content
APICraft
  • In development
  • Coming next in the hub

GraphQL query tester

The GraphQL tester is not published yet. You can inspect and benchmark the same endpoint with the REST request inspector today, and turn any captured GraphQL call into code with the cURL converter.

What the GraphQL tester will do

Three features, all of them running in the browser like the rest of the hub.

  • Query and variables editor

    Write the document and the variables object side by side, with the same JSON validation the API tester already uses for request bodies.

  • Schema introspection

    Fetch the endpoint's introspection result and browse the types, fields and arguments it advertises, entirely in the browser.

  • Export as cURL or code

    The same eight language targets as the cURL converter, so a GraphQL call fits into whichever client you are already writing.

In the meantime, the cURL converter is a working example of the same parser and highlighter: try it with curl -X POST -H 'Content-Type: application/json' -d '{"query":"..."}'.

  • cURL Converter

    Paste a cURL command and get runnable code for JavaScript fetch and Axios, Python requests and httpx, Go, Node.js, PHP and Java. Headers, method, query params, basic auth and the body are all read from the command itself.

    Open tool
  • API Tester

    Send GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS requests straight from the browser with custom headers and a JSON body. Read the status code with its meaning, the formatted response, the headers and the round-trip time.

    Open tool
  • Mock JSON

    Generate realistic dummy data for REST APIs: users, e-commerce orders, products, blog posts, comments and invoices, with field-level control, 1 to 500 rows, a reproducible seed and one-click export as .json or NDJSON.

    Open tool