What you can build
Marketing automation
Create campaign-specific links automatically from your marketing tools.
CMS integration
Generate short links when content is published.
Analytics dashboards
Pull click data into your BI tools for custom reporting.
AI workflows
Let AI agents create and manage links via MCP.
API capabilities
Getting started
1
Create an API key
Generate an API key from the H0p dashboard under Developer Tools > API Keys.
2
Make your first request
Test your key by listing your domains or creating a short link.
3
Build your integration
Connect H0p to your tools using our REST endpoints or MCP server.
Ready to start? Follow the Quickstart guide to make your first API call.
Authentication
All API requests require an API key in thex-api-key header:
Base URL
All API requests should be made to:API documentation
The H0p API is documented using OpenAPI 3.0. You can:- Browse the interactive API reference in this documentation
- Access the OpenAPI spec directly at
https://api.h0p.co/doc - View the Swagger UI at
https://api.h0p.co/ui
Request format
AllPOST, PATCH, and PUT requests must include a JSON body with the Content-Type: application/json header.
Response format
Successful responses return JSON with the requested data:HTTP status codes
Common error codes
Rate limiting
API requests are rate-limited to ensure fair usage:
When you exceed the rate limit, you receive a
429 Too Many Requests response:
Pagination
List endpoints support pagination withpage and limit parameters:
pagestarts at 0limitdefaults to 10, maximum 50
SDKs and tools
While we don’t offer official SDKs yet, you can:- Use the OpenAPI spec to generate clients in any language
- Connect via MCP for AI tool integration
- Use standard HTTP libraries in your preferred language
Support
Contact support
Reach out for technical assistance.
Dashboard
Manage your links, domains, and API keys.