Developers
Trade from your code or your agent. REST API, webhooks, and an MCP server for Claude, ChatGPT and other AI clients.
API keys
Create a developer accountSign up with email or a social account to create API keys.
Connect an AI agent
Add the Hashlock MCP server to your client. The agent signs in with OAuth and gets its own key, which shows up above and can be revoked there. It never holds your keys: every lock and claim comes back for your wallet to sign.
- In Claude, open Settings → Connectors → Add custom connector.
- Paste this URL and press Add.
- Sign in and approve what the agent may do.
https://hashlock.markets/mcp
Quick start
curl https://api.hashlock.markets/v1/rfqs \
-H "Authorization: Bearer hk_…" \
-H "Content-Type: application/json" \
-d '{"direction":"sell_base",
"baseAssetId":"<asset id>",
"baseAmount":"<base units>",
"quoteAssetId":"<asset id>",
"ttlSeconds":21600}'Asset ids come from GET /v1/assets; amounts are in the token’s base units.
List your token
Launches on Bankr, Virtuals and Clanker are listed automatically. Any other token: send its contract through POST /v1/assets — it is listed if it passes the safety and liquidity checks.Security checks powered byDocs and specs
DocumentationConcepts, quickstart and guides for traders, makers and agents.API referenceEvery /v1 endpoint with parameters, responses and examples.Try the APIInteractive reference: send real requests from the browser with your key.OpenAPI specOpenAPI JSON for code generators, Postman and Insomnia.SDKsTypeScript @hashlock-tech/sdk on npm, Python hashlock-sdk on PyPI.For AI agentsThe whole docs as one file for LLMs.