PBN.LTD API
The PBN.LTD API lets you run your hosting account from your own dashboards, scripts and AI tools: list and search sites, create sites of every type, change settings and PHP versions, manage DNS records, take and restore backups, browse and upload files, read error and access logs, check health, see billing and invoices, and open support tickets.
What it covers
343 endpoints in 47 areas. Every one of them is also a tool on the MCP server, so an AI assistant can do the same things by being asked in plain words. Anything that costs money answers with a checkout link for you to open and pay - the API never charges you by itself.
- Account (4) - The account behind the key: profile, plan, site slots, limits and usage.
- Billing (3) - Subscription, payment due, invoices and invoice PDFs, add-ons.
- Sites (9) - Every site type: list, search, create, change, delete; status, nameservers, CDN, SEO.
- Site tools (14) - Cache purge, one-click admin login, reinstall, health checks, Site Cleaner, usage.
- DNS records (6) - The site's own DNS records (A, AAAA, CNAME, TXT, MX, SRV, CAA, NS).
- Backups (6) - List, create, download and restore backups.
- Files (7) - Browse, read, upload, rename and delete the files of a site.
- Logs (2) - Error log and access log of a site.
- Support tickets (5) - Open support tickets and reply to them.
- Knowledge base (3) - Search the knowledge base.
- Jobs (2) - Progress of the long-running actions the API started.
- Content and publishing (23) - Posts, pages, pictures and the AI auto-posting campaigns, on every site type.
- Building, plugins and themes (22) - Upload a built site, set the home page, install and test plugins and themes, and the sites you publish to other hosts.
- SEO metrics and backlinks (5) - The SEO figures measured for each site, and the backlink tracker with its bulk link editor.
- Registrar connections (13) - Connect your domain registrar accounts so we set your sites' nameservers for you: connections, automatic updates, per-site status and history.
- Site security (8) - For sites on Cloudflare: "I'm Under Attack" mode, the site's own firewall rules and blocking AI crawlers.
- Wayback restore (5) - Rebuild a website from the public web archive: look a domain up, pick a day, see what would be rebuilt and order it with a restore credit.
- Hourly backups (5) - The hourly backups add-on of a site: its restore points, a backup now, rolling the site back to an hour, and downloading one.
- Mailboxes (8) - Mailboxes on your sites' domains, aliases, forwarders, the catch-all and out-of-office replies. Passwords are never returned.
- Rank tracking (13) - Where do your keywords rank in Google? Track any domain - hosted with us or not - in any country, language and device, with the full position history.
- AI visibility (12) - Do AI assistants (ChatGPT, Google AI answers and others) name your brand when people ask the questions you care about? Track prompts, answers and competitors.
- Index checker (7) - Is each page in Google? Track any URL - on your sites or any other - and read its history.
- Redis (3) - The Redis object cache add-on: whether it is on, and switching it on or off per site.
- Website firewall (1) - The firewall in front of every site: whether it is on, and what it recently blocked.
- SEO tools (3) - The SEO tools suite: every tool, your subscription, and prices with the bundle and yearly discounts.
- Keyword research + domain overview (8) - Keyword ideas with volume, CPC, competition and difficulty; any domain's ranked keywords, traffic, top pages, competitors and keyword gaps.
- Domain vetting (8) - Check a domain before you buy it, and get told when a new aged domain matches a search you saved.
- Footprint checker (7) - What publicly joins your sites together - shared addresses, nameservers, tracking codes, themes, icons, footers, links, mail records and certificate history - with a fix for each.
- Site audit (7) - Crawl a site you own and find what is holding it back, with a fix for each finding. Richer for sites hosted with us.
- Backlink monitor (12) - Are the links you built still there? Watch individual links and whole backlink profiles.
- Brand mentions (8) - Where your brand, domain or product is talked about on the web, and whether the tone is positive or negative.
- Local rankings (7) - Where a business sits in Google's map results and local results, town by town.
- Client reports (6) - White-label reports for an agency's clients, built from the SEO tools the account already has.
- Held plugin updates (3) - Plugin updates that stopped a site working were put back automatically; list them and ask for one to be tried again.
- Extra databases (7) - More databases for one site (any site type with a database), each with its own daily backup you can restore.
- Staging (11) - Staging sites: a private copy of a live WordPress or Static HTML site to try changes on, then copy to the live site (or refresh from it).
- Turnstile bot check (4) - Cloudflare Turnstile on your WordPress forms (login, registration, lost password, comments and the common form plugins): status, switch on or off, choose forms, new keys.
- Cron jobs (8) - Scheduled tasks for a site: WordPress scheduled tasks, a PHP script, a web address or a command, every 5 minutes at most, stopped after 15 minutes, as the site's own user. Free on every plan; 5 per site, 25 per account. Times are UTC.
- Reputation monitoring (12) - Star rating, review count and the latest reviews on Google, Trustpilot and Tripadvisor for the businesses you watch (poor unanswered reviews first), plus brand page one.
- Product price tracking (5) - Your products on Google Shopping and Amazon: on the shelf or not, position, the cheapest comparable listing and how far above it you are.
- Competitor tracking (5) - Competitor domains read every week: organic keywords, traffic estimate, top pages, domain rank and referring domains, with the history.
- Agency SEO data (6) - Authority and link data for up to 200 domains hosted anywhere, read every week: domain rank, referring domains, backlinks, spam score and the organic traffic estimate.
- Website e-mail sending (5) - Send a website's e-mail through your own provider (Resend, SendGrid, Brevo, Mailgun, Amazon SES, Postmark or any SMTP server) instead of our mail servers, and test it.
- Country lock (2) - Limit a site to the countries you choose; everyone else gets a "not available in your country" page.
- Performance Boost (1) - More CPU and memory for every site of the account: the level, and the price of each level.
- Pro plugin discount (1) - Hosting customers get 50% off the first payment of our Pro plugins: eligibility and offers.
- Money sites (21) - Hosting on Zinn Digital's platform: plans, orders, sites, usage, and the free WooCommerce tick on a PBN-line WordPress site.
Base URL: https://app.pbn.ltd/api/v1. Every answer is JSON (except file and PDF downloads), UTF-8, with dates in ISO 8601 UTC.
Quick start
- Create a key at API keys (menu: your name > API keys). Copy it - it is shown once.
- Keep it secret: store it in an environment variable, e.g.
export PBN_API_KEY=pbn_.... - Call the API:
curl -s https://app.pbn.ltd/api/v1/me -H "Authorization: Bearer $PBN_API_KEY"
import os, requests
r = requests.get("https://app.pbn.ltd/api/v1/sites", headers={"Authorization": "Bearer " + os.environ["PBN_API_KEY"]})
for site in r.json()["data"]:
print(site["domain"], site["state"], site["online"]["status"] if site["online"] else "-")
const res = await fetch("https://app.pbn.ltd/api/v1/sites?state=frozen", {
headers: {Authorization: `Bearer ${process.env.PBN_API_KEY}`}
});
const {data} = await res.json();
What you get back
A single object comes as {"data": {...}}; a list as {"data": [...], "next_cursor": "...", "has_more": true} (see Pagination). An action that finishes later also returns a job (see Jobs). An error is {"error": {"code": "...", "message": "...", "details": {...}}} with a matching HTTP status (see Errors).
Same rules as the panel
The API does exactly what the panel does, through the same code: the same checks, limits and refusals apply (an expired plan, a paused or suspended site, a busy site, the site-slot limit, the ticket limits, add-ons that must be active). The API never gives more access than your account has.
Machine-readable
- OpenAPI 3.1: https://app.pbn.ltd/api/v1/openapi.json (import it into Postman, Insomnia or a code generator).
- For AI tools: llms.txt (index) and llms-full.txt (everything); every page is also available as Markdown by adding
.mdto its address.
Try it
Paste an API key and call GET /me from this page. The key goes straight to the API from your browser and is not stored.