{
"url": "https://example.com/",
"final_url": "https://example.com/",
"status": 200,
"title": "Example Domain",
"chars": 156,
"truncated": false,
"markdown": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
"note": "Content belongs to the page owner; respect its license/terms.",
"sources": [
{
"name": "Live fetch of the target page by FreeTierAgentAPI (robots.txt respected)",
"url": "https://example.com/"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14524/web+page+to+markdown+and+contacts+api/37080/page+to+markdown?url=https://example.com' --header 'Authorization: Bearer YOUR_API_KEY'
{
"domain": "tryg.dk",
"url": "https://tryg.dk/",
"name": "Tryg",
"legalName": null,
"orgType": null,
"description": "Tryg er Danmarks største forsikringsselskab. Find din kommende forsikring her. Få masser af gratis fordele med EkstraTryghed.",
"language": "da",
"address": null,
"emails": [],
"personalOrUnknownEmailsOmitted": 0,
"emailsDroppedNoMx": 0,
"phonesOmittedAsLikelyPersonal": 0,
"phones": [
{
"e164": "+4532736870",
"national": "+45 32 73 68 70",
"country": null,
"type": null,
"validated": false,
"sources": [
"text"
],
"foundOn": [
"https://tryg.dk/kundeservice/hjaelp-til-min-side"
],
"confidence": "medium"
}
],
"vatOrCompanyIds": [
"DK-CVR 24260666"
],
"socialProfiles": {
"linkedin": [
"https://www.linkedin.com/company/tryg",
"https://www.linkedin.com/company/trygg-hansa",
"https://www.linkedin.com/company/tryg-insurance"
],
"facebook": [
"https://www.facebook.com/TrygDanmark",
"https://www.facebook.com/TryggHansa",
"https://www.facebook.com/TrygNorge"
],
"instagram": [
"https://www.instagram.com/tryg_forsikring",
"https://www.instagram.com/trygg_hansa",
"https://www.instagram.com/trygno"
],
"youtube": [
"https://www.youtube.com/user/TrygDanmark",
"https://www.youtube.com/user/TrygForsikringNorge",
"https://www.youtube.com/user/AlkaForsikring"
]
},
"pagesFetched": [
{
"url": "https://tryg.dk/",
"status": 200
},
{
"url": "https://tryg.dk/kundeservice",
"status": 200
},
{
"url": "https://tryg.dk/kundeservice/mine-forsikringer",
"status": 200
},
{
"url": "https://tryg.dk/kundeservice/opsig-forsikring",
"status": 200
},
{
"url": "https://tryg.dk/kundeservice/hjaelp-til-min-side",
"status": 200
}
],
"robotsBlocked": [],
"fetchedAt": "2026-10-26T18:23:18.756Z",
"note": "Phone validation in this API uses a lighter rule set than the Apify Actor (no libphonenumber).",
"sources": [
{
"name": "Cloudflare DNS over HTTPS (live MX/A/AAAA lookup)",
"url": "https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14524/web+page+to+markdown+and+contacts+api/37081/business+contacts?url=https://tryg.dk' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Web Page to Markdown and Contacts API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Convert public web pages to clean Markdown and find published business contact details.
The "Page to Markdown" endpoint returns a clean Markdown representation of a public web page, including the title, headings, paragraphs, lists, links, and code. The "Business Contacts" endpoint provides structured contact information for a company, including validated emails, phone numbers, postal addresses, and social profiles.
For "Page to Markdown," key fields include "url," "title," "markdown," and "sources." For "Business Contacts," important fields are "domain," "name," "emails," "phones," and "vatOrCompanyIds," which provide essential contact details and identifiers.
The "Page to Markdown" endpoint requires a URL parameter to specify the web page to convert. The "Business Contacts" endpoint also uses a domain parameter to identify the company website for contact information retrieval.
The response data is structured in JSON format. Each endpoint returns an object containing relevant fields. For example, the "Page to Markdown" response includes the original URL, converted Markdown content, and metadata, while the "Business Contacts" response includes structured contact details and validation statuses.
The data for both endpoints is sourced from live web pages, respecting the robots.txt file. The "Business Contacts" endpoint validates emails and phone numbers against known standards to ensure accuracy, while the "Page to Markdown" endpoint fetches content directly from the specified URL.
Typical use cases include converting web content for documentation, creating clean Markdown files for blogs or articles, and retrieving business contact details for outreach or marketing purposes. Users can leverage this data for content management and lead generation.
Users can utilize the "Page to Markdown" output for easy integration into Markdown-supported platforms, while the "Business Contacts" data can be used for CRM systems, email campaigns, or contact databases. Understanding the structure helps in parsing and using the data programmatically.
The API performs validation checks on emails and phone numbers to ensure they are active and correctly formatted. The data is fetched in real-time, and the use of robots.txt ensures compliance with web scraping policies, enhancing the reliability of the information provided.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund