Home API

API

Roman Malyshev
By Roman Malyshev •
4 articles

API Methods: How the API Works

The LinkBuilder.com API has three main methods: two for searching websites and one for checking your usage. All requests use your API key [уточните способ передачи ключа]. Full parameter lists and examples are in the API documentation. 1. Bulk domain search POST /v1/search/domains Send a list of domains and find out which of them are available for placement, with prices from every provider. Use it to check a vendor’s offer, a competitor’s referring domains or your outreach list. json { "domains": ["example.com", "forbes.com", "cnn.com"], "limit": 500, "sort_by": "price", "sort_order": "asc" } For each website found, you get prices per provider along with the minimum and median price: json { "domain": "example.com", "prices": [ { "provider": "Collaborator", "price": 120 }, { "provider": "Bazoom", "price": 135 }, { "provider": "Adsy", "price": 149 } ], "minimum": 120, "median": 140 } 2. Parameter search GET /v1/search/parameters Find websites in our database that match your criteria, without a list of domains. For example, sites in a specific country with DR 50+ and a price under $300, excluding certain providers: GET /v1/search/parameters country_ids=225 ah_dr_from=50 price_to=300 exclude_provider_ids=12,17 limit=500 sort_by=price sort_order=asc The response includes the websites with their metrics and pricing, plus a summary of how many matches were found and returned and how many credits were used: json { "data": [ { "domain": "example.com", "metrics": { "ah": { "dr": 71, "traffic": 98000 } }, "pricing": { "minimum": 95, "median": 140, "offers_total": 9, "offers_returned": 5 } } ], "meta": { "total_found": 18432, "returned": 500, "applied_limit": 500 }, "usage": { "credits_used": 500 } } 3. Usage GET /v1/account/usage Returns your current plan, used and remaining Domain Credits, the maximum number of results per request and the number of offers per website. Common parameters - limit — how many websites to return. If it’s higher than your plan allows, the plan maximum is applied automatically, without an error. - sort_by and sort_order — sort by price or by Ahrefs, Majestic and Moz metrics, ascending or descending. Sorting is applied before the limit, so you always get the most relevant websites. - provider_ids — return offers only from these providers. - exclude_provider_ids — exclude offers from these providers. - cheapest_provider_ids — [уточните точное поведение: например, “find the cheapest offer among these providers”]. How a request is processed 1. You send a list of domains or a set of filters. 2. The API finds all matches, applies your filters and sorts the results. 3. Your plan limit is applied and the results are returned. 4. You’re charged one Domain Credit per website returned. Submitted and unmatched domains are free.

Last updated on Nov 04, 2026

How to Get API Key

To use the LinkBuilder.com API, you need an API key. It identifies your account and connects your requests to your plan and Domain Credits. Step 1. Sign in or create an account Sign in to LinkBuilder.com. If you don’t have an account yet, register for free. Step 2. Choose an API plan Open the API page and choose a plan: Pro, Ultimate or Marketplace API. Your plan defines how many Domain Credits you get each month, how many websites you can get per request and how many provider offers are returned for each website. Step 3. Generate your API key Copy the key and store it somewhere safe. Step 4. Add the key to your requests Include your API key in every request. curl https://client-api.linkbuilder.com/v1/account/usage \ -H "Authorization: Bearer YOUR_API_KEY" This test request returns your current plan, used and remaining Domain Credits and limits. It’s an easy way to check that your key works. Keep your API key secure Your API key gives access to your plan and credits, so treat it like a password: - don’t share it publicly or commit it to GitHub or other repositories; - don’t use it in client-side code, such as browser JavaScript or mobile apps; - store it in environment variables or a secrets manager on your server. If you think your key has been exposed, [уточните: regenerate it on the API page — the old key will stop working immediately]. Troubleshooting - Request returns an authentication error. Check that the key is copied in full, without extra spaces, and passed in the correct format. - Key works but no websites are returned. Check your remaining credits with GET /v1/account/usage. - Can’t see the option to generate a key. Make sure your API plan is active. If the problem persists, contact support.

Last updated on Nov 04, 2026