# sondahub > Free, public mock APIs for testing API clients, apps and agents: 7 populated fake APIs (e-commerce, IoT fleet, banking, social network, helpdesk, flight booking, company directory) with 78,076 related records in 37 collections, over REST, GraphQL, OData 4, gRPC-Web / Connect, SOAP 1.1 and 1.2 (a WSDL per API, WS-Security), JSON-RPC 2.0, XML-RPC, Socket.IO, WebSocket, Server-Sent Events, MQTT over WebSocket, a Kafka broker (through a small bridge) and a Model Context Protocol (MCP) server — plus SAML 2.0, SCIM 2.0, OAuth 2.0 / OIDC with dynamic client registration, an OpenAPI mock server, signed webhooks, chaos and rate-limit controls, HTTP test endpoints, and a FHIR R4 server over a synthetic clinic, and OPC UA, Modbus TCP, HART-IP and DDS simulators over WebSocket. No API key, no signup, CORS open. Writes (POST, PUT, PATCH, DELETE, GraphQL mutations, OData, gRPC, SOAP, JSON-RPC, XML-RPC and Socket.IO calls, SCIM, MCP write tools) are validated, run through real rules and answered as a real server would — 201 with the record and a Location header, 422 naming every wrong field. Nothing is stored on the server: the answer carries an `X-Sondahub-Session` token holding the client's changes, and a request that sends it back (header, or `?_session=`) sees them — the record comes back on GET, in lists and in totals. Ids never change, so examples stay valid. - API base: https://api.sondahub.com/v1 (a JSON index of everything) - SOAP: https://api.sondahub.com/soap/{api} (WSDL at ?wsdl; https://api.sondahub.com/soap/secure/{api} behind WS-Security); JSON-RPC 2.0: https://api.sondahub.com/jsonrpc (OpenRPC at GET); XML-RPC: https://api.sondahub.com/xmlrpc - MCP server: https://api.sondahub.com/mcp (Streamable HTTP, stateless, no auth); OAuth-protected: https://api.sondahub.com/mcp/secure - gRPC-Web / Connect: https://api.sondahub.com/grpc/sondahub.{api}.v1.{Api}Service/{Method}; .proto at https://api.sondahub.com/v1/{api}/{api}.proto - SCIM 2.0: https://api.sondahub.com/scim/v2 (Bearer sonda-scim-token) · SAML IdP metadata: https://api.sondahub.com/saml/metadata · test SP: https://api.sondahub.com/saml/sp - OpenAPI mock: https://api.sondahub.com/v1/mock?spec={url} - MQTT broker: wss://api.sondahub.com/mqtt (WebSocket only, MQTT 3.1.1 and 5) - Kafka broker: through the bridge (https://sondahub.com/industrial/bridge.mjs, node bridge.mjs kafka) at bootstrap.servers localhost:9192 — each run of the bridge its own cluster on the next free port — or JSON as text at wss://api.sondahub.com/kafka - AMQP 0-9-1 and AMQP 1.0 broker (RabbitMQ conventions, both on one port): through the bridge (node bridge.mjs amqp) at amqp://guest:guest@localhost:5772 — AMQP 1.0 also over WebSocket at wss://api.sondahub.com/amqp (subprotocol amqp) — with STOMP on the same broker at localhost:61713 — each run of the bridge its own broker on the next free ports - STOMP 1.0–1.2 over WebSocket: wss://api.sondahub.com/stomp (subprotocol v12.stomp; each connection its own broker) - NATS with JetStream: wss://api.sondahub.com/nats for NATS clients over WebSocket, or nats://localhost:4322 through the bridge (node bridge.mjs nats) - FIX acceptor SONDAHUB (FIX.4.2, FIX.4.4, FIXT.1.1) and a small FX exchange: localhost:9976 through the bridge (node bridge.mjs fix), or FIX over WebSocket at wss://api.sondahub.com/fix (typed with | allowed) - Redis (RESP2 and RESP3, streams, pub/sub): redis://localhost:6479 through the bridge (node bridge.mjs redis), or RESP and typed commands over WebSocket at wss://api.sondahub.com/redis - HL7 v2 receiver (2.2–2.8.2): POST ER7 to https://api.sondahub.com/hl7 for the ACK; samples at https://api.sondahub.com/hl7/samples; MLLP through the bridge (node bridge.mjs hl7) at localhost:2675 - OData 4.0: https://api.sondahub.com/odata/{api}/ ($metadata, $filter, $expand, $batch) - Socket.IO (v3/v4 clients, WebSocket transport only): https://api.sondahub.com, path /socket.io/, namespaces /, /admin, /{api} - FHIR R4 (4.0.1) over a synthetic clinic: https://api.sondahub.com/fhir (CapabilityStatement at /fhir/metadata; search, CRUD, history, transactions, Patient/$everything) - Raw data: https://api.sondahub.com/data/{api}/{collection}.json - Industrial protocols, each over WebSocket: an OPC UA server at opc.wss://api.sondahub.com/opcua (subprotocol opcua+uacp, SecurityPolicy None), a Modbus TCP gateway at wss://api.sondahub.com/modbus and a HART-IP loop at wss://api.sondahub.com/hart-ip (binary frames as on TCP, or JSON as text), and a DDS participant at wss://api.sondahub.com/dds (RTPS through the bridge over UDP or Fast DDS TCP, DDS Security optional, or JSON as text); https://sondahub.com/industrial/bridge.mjs opens a local TCP port for tools that speak only TCP, or a DDS participant's UDP ports and a TCP port - Built as the playground for LockFlare Sonda, an API client: https://lockflare.com/sonda ## APIs - [Store — fake e-commerce API](https://sondahub.com/apis/store/): An online shop: products, customers, orders, reviews and stock. 20,730 records. OpenAPI: https://api.sondahub.com/v1/store/openapi.json · GraphQL: https://api.sondahub.com/v1/store/graphql - [Fleet — fake IoT API](https://sondahub.com/apis/fleet/): An IoT fleet: sites, devices, telemetry and alerts — the MQTT one. 6,248 records. OpenAPI: https://api.sondahub.com/v1/fleet/openapi.json · GraphQL: https://api.sondahub.com/v1/fleet/graphql - [Bank — fake banking API](https://sondahub.com/apis/bank/): Retail banking: customers, accounts, cards, nearly eight thousand transactions, transfers and FX rates. 10,047 records. OpenAPI: https://api.sondahub.com/v1/bank/openapi.json · GraphQL: https://api.sondahub.com/v1/bank/graphql - [Social — fake social media API](https://sondahub.com/apis/social/): A social network: users, posts, comments, likes and follows — the GraphQL one. 25,800 records. OpenAPI: https://api.sondahub.com/v1/social/openapi.json · GraphQL: https://api.sondahub.com/v1/social/graphql - [Helpdesk — fake helpdesk API](https://sondahub.com/apis/helpdesk/): A support desk: tickets, messages, agents, customers, SLAs — the state-machine one. 7,398 records. OpenAPI: https://api.sondahub.com/v1/helpdesk/openapi.json · GraphQL: https://api.sondahub.com/v1/helpdesk/graphql - [Flights — fake flight booking API](https://sondahub.com/apis/flights/): Airports, airlines, two and a half thousand scheduled flights and their bookings — the live-board one. 6,056 records. OpenAPI: https://api.sondahub.com/v1/flights/openapi.json · GraphQL: https://api.sondahub.com/v1/flights/graphql - [Identity — fake user directory API](https://sondahub.com/apis/identity/): A company directory: people, groups and memberships — behind SCIM 2.0, SAML and OpenID Connect. 1,797 records. OpenAPI: https://api.sondahub.com/v1/identity/openapi.json · GraphQL: https://api.sondahub.com/v1/identity/graphql ## Guides - [Fake REST API](https://sondahub.com/fake-rest-api/): CRUD over 37 collections with paging, filters, sorting, search and relations. - [Public GraphQL API](https://sondahub.com/public-graphql-api/): Seven schemas with introspection, nested relations and mutations. - [gRPC-Web & Connect](https://sondahub.com/grpc-web-test-server/): Every API as a protobuf service, unary and streaming, .proto files included. - [SOAP test server](https://sondahub.com/soap-test-server/): A WSDL for every API: SOAP 1.1 and 1.2, WS-Security, faults by the book. - [JSON-RPC & XML-RPC](https://sondahub.com/json-rpc-test-server/): Every API over JSON-RPC 2.0 and XML-RPC: batches, OpenRPC, multicall. - [OData test server](https://sondahub.com/odata-test-server/): Every API as an OData v4 service: $metadata, $filter, $expand, paging, ETags, $batch. - [FHIR test server](https://sondahub.com/fhir-test-server/): FHIR R4 over a synthetic clinic: patients, vitals, labs, meds, search, transactions. - [Socket.IO test server](https://sondahub.com/socket-io-test-server/): A namespace per API: calls over acks, live events, binary, connect_error on demand. - [WebSocket test server](https://sondahub.com/websocket-test-server/): An echo socket and live JSON event streams. - [SSE test server](https://sondahub.com/sse-test-server/): Server-Sent Events with ids, named events and resumption. - [Public MQTT broker](https://sondahub.com/public-mqtt-broker/): MQTT 3.1.1 and 5 over WebSocket with live IoT telemetry. - [Kafka test broker](https://sondahub.com/public-kafka-broker/): A Kafka cluster with sixteen live topics, consumer groups, SASL and orders that move — on localhost through a small bridge. - [AMQP test broker](https://sondahub.com/amqp-test-broker/): AMQP 0-9-1 the way RabbitMQ clients expect it: exchanges, live queues, DLX, confirms, RPC — on localhost through the bridge. - [AMQP 1.0 test broker](https://sondahub.com/amqp-1-0-test-broker/): AMQP 1.0 beside 0-9-1 on the same broker: links, credit, settlement, live queues, RPC — over TCP or WebSocket. - [STOMP test server](https://sondahub.com/stomp-test-server/): STOMP 1.0–1.2 over WebSocket, or over TCP through the bridge, on the same broker as AMQP. - [NATS test server](https://sondahub.com/nats-test-server/): NATS with JetStream: live subjects, services that answer, streams, consumers and key-value buckets — over WebSocket or TCP. - [Redis test server](https://sondahub.com/redis-test-server/): RESP2 and RESP3 with live streams, consumer groups, pub/sub and keys that move — on localhost through the bridge. - [FIX test server](https://sondahub.com/fix-test-server/): A FIX 4.2, 4.4 and 5.0 acceptor with the session layer done right, filling orders against live FX quotes. - [HL7 v2 test server](https://sondahub.com/hl7-test-server/): HL7 v2 messages over HTTP or MLLP: validated, ACKed, queries answered from a synthetic clinic. - [MCP test server](https://sondahub.com/mcp-server/): A Model Context Protocol server over Streamable HTTP. - [MCP OAuth test server](https://sondahub.com/mcp-oauth-test-server/): The MCP authorization flow end to end: metadata, DCR, PKCE, audience. - [Writes that persist](https://sondahub.com/mock-api-with-persistence/): POST, then GET it back — with no database: the state travels with you. - [OpenAPI mock server](https://sondahub.com/openapi-mock-server/): Point it at any OpenAPI or Swagger file and get a working mock. - [Webhook tester](https://sondahub.com/webhook-tester/): Signed webhooks to your endpoint: Standard Webhooks, Stripe or GitHub style. - [Chaos and rate limits](https://sondahub.com/api-chaos-testing/): Latency, failures, 429s, idempotency keys, cursors, CSV and XML on any endpoint. - [SAML test IdP and SP](https://sondahub.com/saml-test-idp/): Sign in with SAML, or check what your IdP sends — signatures and all. - [SCIM 2.0 test server](https://sondahub.com/scim-test-server/): Users and Groups with filters, PATCH, Bulk and discovery. - [OAuth 2.0 test server](https://sondahub.com/oauth2-test-server/): Authorization code with PKCE, client credentials, OIDC, dynamic registration. - [Auth test endpoints](https://sondahub.com/auth-test-endpoints/): Basic, Digest, API key, Bearer, JWT and AWS SigV4, checked for real. - [HTTP test endpoints](https://sondahub.com/utilities/): Echo, status codes, delays, redirects, cookies, gzip, uploads. - [Fake JSON data](https://sondahub.com/data-files/): 37 downloadable datasets, 78,076 rows. - [Stripe sandbox](https://sondahub.com/sandboxes/stripe/): A Stripe mock API the official SDK works against: test cards, 3D Secure, refunds, Checkout, signed webhooks. - [Twilio sandbox](https://sondahub.com/sandboxes/twilio/): A Twilio mock API: SMS, calls, Verify and Lookups, magic numbers, signed status callbacks. - [SendGrid sandbox](https://sondahub.com/sandboxes/sendgrid/): A SendGrid mock API: Mail Send with real validation, templates rendered, bounces and opens, signed Event Webhooks. - [Authorize.net sandbox](https://sondahub.com/sandboxes/authorizenet/): An Authorize.net mock API: XML and JSON checked like the real one, test triggers, settlement every minute, profiles, subscriptions, signed webhooks. - [OpenAI sandbox](https://sondahub.com/sandboxes/openai/): An OpenAI mock API with a scripted model: chat completions, the Responses API, streaming, tool calls, structured outputs, embeddings, errors on cue. - [Anthropic sandbox](https://sondahub.com/sandboxes/anthropic/): A Claude API mock with a scripted model: messages, streaming, tool use, signed thinking blocks, prompt caching, batches, errors on cue. - [AWS Secrets Manager sandbox](https://sondahub.com/sandboxes/aws-secrets-manager/): An AWS Secrets Manager mock for boto3 and the SDKs: all 23 actions, SigV4 checked, versions and labels, rotation, deletion windows, replicas. - [Azure Key Vault sandbox](https://sondahub.com/sandboxes/azure-key-vault/): An Azure Key Vault mock the Azure SDK signs in to: the bearer challenge, an Entra ID token endpoint, versions, soft delete, recover, purge, backup. - [Google Secret Manager sandbox](https://sondahub.com/sandboxes/google-secret-manager/): A Google Secret Manager mock for the client libraries over REST: versions, aliases, CRC32C checks, delayed destruction, IAM, a service account. - [1Password Connect sandbox](https://sondahub.com/sandboxes/1password-connect/): A 1Password Connect server mock: vaults, items, generated passwords, one-time codes, files, JSON Patch, activity. - [Doppler sandbox](https://sondahub.com/sandboxes/doppler/): A Doppler API mock: configs and branch inheritance, references resolved, every download format for doppler run, logs and rollback, service tokens. - [Infisical sandbox](https://sondahub.com/sandboxes/infisical/): An Infisical API mock: Universal Auth, raw secrets v3 and v4, references expanded, folders, imports, versions, personal overrides. - [OPC UA test server](https://sondahub.com/opc-ua-test-server/): A bottling plant in an address space: browse, read, write, methods, subscriptions, events, seven days of history — over opc.wss. - [Modbus TCP simulator](https://sondahub.com/modbus-tcp-simulator/): A gateway with a lift station PLC, a power meter, a drive and a slow sensor: twelve function codes, real exceptions, physics on the clock. - [HART-IP simulator](https://sondahub.com/hart-ip-simulator/): A HART 7 loop of five field devices: universal and common commands, per-master status, units that convert, burst mode. - [DDS simulator](https://sondahub.com/dds-simulator/): An RTPS participant with a ROS 2 robot and a keyed DDS plant: discovery, reliable and transient-local writers, fragments, /cmd_vel and setpoints — over UDP or TCP, with DDS Security. ## Sandboxes (independent imitations of vendor APIs, not affiliated with the vendors) - [Stripe sandbox](https://sondahub.com/sandboxes/stripe/): Stripe's API at https://api.sondahub.com/v1 (customers, payment_methods, payment_intents, charges, refunds, products, prices, checkout/sessions, events, webhook_endpoints, balance) — any sk_test_ key, Stripe's test cards, signed webhooks; OpenAPI https://api.sondahub.com/sandbox/stripe/openapi.json - [Twilio sandbox](https://sondahub.com/sandboxes/twilio/): Twilio's API at https://api.sondahub.com/2010-04-01, https://api.sondahub.com/verify/v2 and https://api.sondahub.com/lookups/v2 — any Account SID, magic numbers, signed status callbacks; OpenAPI https://api.sondahub.com/sandbox/twilio/openapi.json - [SendGrid sandbox](https://sondahub.com/sandboxes/sendgrid/): SendGrid's v3 API at https://api.sondahub.com/v3 (mail/send, Event Webhook signed with ECDSA, messages, stats, suppressions, unsubscribe groups, templates, verified_senders, whitelabel/domains, marketing contacts and lists, Inbound Parse) — any SG. key, +tag recipients that bounce or click, a preview link per send; OpenAPI https://api.sondahub.com/sandbox/sendgrid/openapi.json - [Authorize.net sandbox](https://sondahub.com/sandboxes/authorizenet/): Authorize.net's API at https://api.sondahub.com/xml/v1/request.api (XML or JSON checked against AnetApiSchema.xsd, element order included; createTransaction, Transaction Reporting, CIM, ARB, Accept, webhooks REST at https://api.sondahub.com/rest/v1) — any login with a 16-character key, the testing guide's cards and ZIP triggers, batches every minute; OpenAPI https://api.sondahub.com/sandbox/authorizenet/openapi.json - [OpenAI sandbox](https://sondahub.com/sandboxes/openai/): OpenAI's API at https://api.sondahub.com/v1 with a scripted model (chat/completions, responses, embeddings, moderations, models) — any sk- key, streaming, tool calls, structured outputs, reasoning tokens, stored responses, phrases like [[tool]] or [[error:429]] that pick the outcome; OpenAPI https://api.sondahub.com/sandbox/openai/openapi.json - [Anthropic sandbox](https://sondahub.com/sandboxes/anthropic/): the Claude API at https://api.sondahub.com/v1/messages with a scripted model (messages, count_tokens, batches, models) — any sk-ant- key, streaming, tool use, signed thinking blocks, prompt caching, phrases like [[tool]] or [[error:529]] that pick the outcome; OpenAPI https://api.sondahub.com/sandbox/anthropic/openapi.json - [AWS Secrets Manager sandbox](https://sondahub.com/sandboxes/aws-secrets-manager/): Secrets Manager's API at https://api.sondahub.com/sandbox/aws-secrets-manager (JSON 1.1, X-Amz-Target: secretsmanager., SigV4 for service secretsmanager; the key AKIASONDAHUB000001 / probe-secret has its signature checked) — all 23 actions, versions and staging labels, rotation, deletion windows, replicas; OpenAPI https://api.sondahub.com/sandbox/aws-secrets-manager/openapi.json - [Azure Key Vault sandbox](https://sondahub.com/sandboxes/azure-key-vault/): a vault's secrets API at https://api.sondahub.com/secrets (?api-version=7.x or 2025-07-01; Bearer after Key Vault's 401 challenge) with an Entra ID token endpoint at https://api.sondahub.com/sandbox/azure-key-vault/login/{tenant}/oauth2/v2.0/token — versions, soft delete, recover, purge, backup; OpenAPI https://api.sondahub.com/sandbox/azure-key-vault/openapi.json - [Google Secret Manager sandbox](https://sondahub.com/sandboxes/google-secret-manager/): Secret Manager v1 at https://api.sondahub.com/v1/projects/{project}/secrets (Bearer; REST transport) with a published service account at https://api.sondahub.com/sandbox/google-secret-manager/service-account.json — versions, aliases, CRC32C, IAM; OpenAPI https://api.sondahub.com/sandbox/google-secret-manager/openapi.json - [1Password Connect sandbox](https://sondahub.com/sandboxes/1password-connect/): a Connect server at https://api.sondahub.com/sandbox/1password-connect (any bearer token) — vaults, items, generated passwords, one-time codes, files, JSON Patch; OpenAPI https://api.sondahub.com/sandbox/1password-connect/openapi.json - [Doppler sandbox](https://sondahub.com/sandboxes/doppler/): Doppler's v3 API at https://api.sondahub.com/sandbox/doppler/v3 (and https://api.sondahub.com/v3 with a dp. token) — dp.pt.… or dp.st..… tokens, configs and branches, references resolved, downloads; OpenAPI https://api.sondahub.com/sandbox/doppler/openapi.json - [Infisical sandbox](https://sondahub.com/sandboxes/infisical/): Infisical's API at https://api.sondahub.com/api — Universal Auth, raw secrets v3 and v4, folders, imports, references expanded; OpenAPI https://api.sondahub.com/sandbox/infisical/openapi.json ## Industrial protocols (over WebSocket; each connection gets its own plant) - [OPC UA test server](https://sondahub.com/opc-ua-test-server/): opc.wss://api.sondahub.com/opcua — the WebSocket mapping of OPC UA Part 6, SecurityPolicy None, anonymous or any user (viewer: read-only; denied: refused). A bottling line in namespace 2 (ns=2;s=Line1.Tank101.Level), a Simulation folder of every built-in type, arrays and methods; Browse, Read, Write, Call, subscriptions with deadbands, events on the Server object, seven days of history - [Modbus TCP simulator](https://sondahub.com/modbus-tcp-simulator/): wss://api.sondahub.com/modbus — Modbus TCP ADUs as binary messages, or JSON ({"unit":1,"function":3,"address":0,"count":10}). Units: 1 lift station PLC, 2 power meter, 3 VFD, 4 slow sensor; 0 broadcast, 9 dead (exception 11), 255 = unit 1; functions 1–6, 15, 16, 17, 22, 23, 43 - [HART-IP simulator](https://sondahub.com/hart-ip-simulator/): wss://api.sondahub.com/hart-ip — HART-IP messages as binary, or JSON ({"command":3,"tag":"PT-101"}). Five HART 7 devices at polling addresses 0–4 (PT-101, TT-102, FT-103, LT-104, FV-105); universal and common practice commands, burst mode, per-master status - [DDS simulator](https://sondahub.com/dds-simulator/): wss://api.sondahub.com/dds — an RTPS 2.3 participant reached through the bridge (node bridge.mjs dds [domain] [tcp port] [--secure]) over UDP or Fast DDS's TCPv4 transport, with DDS Security (PKI-DH, Access-Permissions, AES-GCM-GMAC) and a published playground PKI at https://sondahub.com/industrial/dds-security/, or JSON ({"subscribe":"*"}, {"publish":"rt/cmd_vel","sample":{…}}). ROS 2 robot topics (rt/chatter, rt/robot/pose, rt/robot/scan, rt/robot/battery, rt/camera/image in fragments; reads rt/cmd_vel) and a keyed plant (PlantReadings, PlantAlarms; reads PlantSetpoints); types in https://sondahub.com/industrial/sondahub-dds.idl - [Bridge for TCP-only and DDS tools](https://sondahub.com/industrial/bridge.mjs): node bridge.mjs opcua|modbus|hart — opc.tcp://localhost:4840, localhost:5020, localhost:5094; node bridge.mjs dds [domain] [tcp port] [--secure] — UDP 7410/7411 on domain 0, TCP 5100 ## Optional - [Full reference in one file](https://sondahub.com/llms-full.txt): every collection, field, endpoint, tool and utility - [Connect from Sonda or any client](https://sondahub.com/connect/) - [Curated MIT version of the hub](https://github.com/lockflare/sondahub-core): open source, not everything sondahub.com runs