PocketCode · API TesterYour whole API workflow, in your pocket
Test REST, WebSocket, GraphQL, SSE, Socket.IO and MQTT from your phone: eight working auth types, a mock server and code generation for 27 targets.

Six protocols, one client
Everything you call, from REST to MQTT.
- REST with 8 colour-coded methods, GraphQL with schema introspection
- WebSocket, Server-Sent Events, Socket.IO and MQTT
- gRPC is in the code, but hidden in this version until it works on Android

Auth that means it
Ten types listed, eight working (Hawk and NTLM show as Soon).
- OAuth 2.0 (token from client credentials or a pasted code), AWS SigV4 and Digest
- Bearer, Basic, API key and custom; Hawk and NTLM are listed but do nothing yet
- Pre-request scripts for computed tokens and signatures

Responses under X-ray
See where the milliseconds actually go.
- Timeline: DNS · TCP · TLS · TTFB · transfer
- Six tabs: body, headers, cookies, tests, timeline, console
- No-code assertions plus real JavaScript test scripts

A local mock server
Build the front end before the back end exists.
- Local HTTP server, port 8090 by default, loopback only
- Route patterns with wildcards, matched by specificity
- Configurable status code, body and latency
// spec
The spec sheet
plan.free
- ·Protocol panels, auth, scripts and code-gen
- ·Import and export (6 in / 6 out)
- ·One collection, one environment and 10 history entries
plan.pro
- +Local mock server
- +Collection runner and load test (one request at a time)
- +No plan cap on collections and environments; history up to 200 entries
// works with
From the blog
// faq
Frequently asked questions
Can you test REST APIs from your phone?
Yes. The API tester sends REST requests with all 8 HTTP methods, plus WebSocket, GraphQL, Server-Sent Events, Socket.IO and MQTT, and shows status, headers, timing, and body — a full API client running on Android.
Does it support GraphQL and WebSocket?
Yes. Alongside REST it handles GraphQL queries, live WebSocket connections, and SSE streams, so you can test real-time and query-based APIs — not just plain HTTP endpoints — from a single tool on your phone.
Can it test gRPC, Socket.IO or MQTT?
Socket.IO and MQTT, yes. Socket.IO connects to a namespace to listen for and emit events, and MQTT 5 connects with or without TLS to subscribe and publish by topic with QoS 0/1/2. gRPC isn't available in the current version: the panel is in the code, but it stays hidden until it works on Android, because it needs a library the app has to leave out.
Can I write real test scripts, not just check a status code?
Yes, two ways. A no-code assertion builder checks status code, response time, headers, JSONPath or body size against a value with no scripting. For anything more, real JavaScript test scripts run in an isolated sandboxed process — a broken script can't crash the app, and it falls back to a plain console warning on older devices instead of pretending to pass.
Are my API collections stored in the cloud?
By default no: they live on the device. Cloud Sync (Pro, opt-in) doesn't sync them for now: that part is paused. But you can do more: "Save to project" mirrors a collection as one readable JSON file per request inside the same project the code editor has open, so you review and version your API collection with the app's own Git manager, exactly like any other file in the repo.
What authentication methods are supported?
Ten auth types are listed and eight work (No Auth included): Bearer tokens, Basic auth, API keys, OAuth 2.0, Digest, AWS Signature and custom. Hawk and NTLM show as Soon and do nothing yet. Environment and global variables keep secrets out of each request: a secret is masked on screen and left as {{name}} in exported cURL and generated code.
Can it generate client code from a request?
Yes. It generates code for 27 targets (26 different outputs) with the method, URL, headers and body, but auth only appears in the cURL output. Collections import from 6 formats (pasted as text) and export to 6, so a request you tested on your phone moves into your codebase or between tools.
Is there a built-in mock server?
Yes. A local mock server answers on 127.0.0.1, port 8090 by default, so you can define routes and responses and develop against a fake API before the real backend exists. It is loopback only (other devices can't reach it), and switching it on is Pro; setting up routes is free.
