{
"success": false,
"errors": [
{
"type": "https://api.leadmagic.io/errors/rate_limit_exceeded",
"title": "Rate limit exceeded: 300 requests per 1 minute. Wait and try again.",
"status": 429,
"code": "rate_limit_exceeded",
"detail": "You have exceeded the maximum allowed request rate. Please wait before making additional requests.",
"action": "Wait 42 seconds before retrying. Consider implementing exponential backoff.",
"docs": "https://leadmagic.io/docs/api-reference/rate-limits",
"context": {
"limit": 300,
"window": "1 minute",
"remaining": 0,
"reset_at": 1706745642,
"retry_after_seconds": 42
}
}
],
"meta": {
"request_id": "ea6e3248-f4d2-437d-bca3-20881b529129",
"timestamp": "2024-02-01T12:00:00.000Z"
}
}
{
"success": false,
"errors": [
{
"type": "https://api.leadmagic.io/errors/INTERNAL_ERROR",
"title": "Something went wrong on our end. Our team has been notified and is investigating.",
"status": 500,
"code": "INTERNAL_ERROR",
"detail": "This is a temporary server error. The issue has been automatically reported to our team.",
"action": "Wait 30 seconds and retry your request. If the problem persists, contact support@leadmagic.io",
"docs": "https://leadmagic.io/docs/api-reference/errors"
}
],
"meta": {
"request_id": "ea6e3248-f4d2-437d-bca3-20881b529129",
"timestamp": "2024-02-01T12:00:00.000Z"
}
}
Get detailed information about a specific B2B professional network advertisement. Includes full creative content, video data, targeting, and performance metrics.
{
"success": false,
"errors": [
{
"type": "https://api.leadmagic.io/errors/rate_limit_exceeded",
"title": "Rate limit exceeded: 300 requests per 1 minute. Wait and try again.",
"status": 429,
"code": "rate_limit_exceeded",
"detail": "You have exceeded the maximum allowed request rate. Please wait before making additional requests.",
"action": "Wait 42 seconds before retrying. Consider implementing exponential backoff.",
"docs": "https://leadmagic.io/docs/api-reference/rate-limits",
"context": {
"limit": 300,
"window": "1 minute",
"remaining": 0,
"reset_at": 1706745642,
"retry_after_seconds": 42
}
}
],
"meta": {
"request_id": "ea6e3248-f4d2-437d-bca3-20881b529129",
"timestamp": "2024-02-01T12:00:00.000Z"
}
}
{
"success": false,
"errors": [
{
"type": "https://api.leadmagic.io/errors/INTERNAL_ERROR",
"title": "Something went wrong on our end. Our team has been notified and is investigating.",
"status": 500,
"code": "INTERNAL_ERROR",
"detail": "This is a temporary server error. The issue has been automatically reported to our team.",
"action": "Wait 30 seconds and retry your request. If the problem persists, contact support@leadmagic.io",
"docs": "https://leadmagic.io/docs/api-reference/errors"
}
],
"meta": {
"request_id": "ea6e3248-f4d2-437d-bca3-20881b529129",
"timestamp": "2024-02-01T12:00:00.000Z"
}
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"LeadMagic","description":"B2B data enrichment API for email validation, contact discovery, company intelligence, and advertising insights","colors":{"primary":"#7C3AED","light":"#C4B5FD","dark":"#7C3AED"},"logo":{"light":"https://mintcdn.com/leadmagic/_o4X9taQ-eKpmHvO/logo/light.svg?fit=max\u0026auto=format\u0026n=_o4X9taQ-eKpmHvO\u0026q=85\u0026s=586839aef34c6fa857b3a749aa11ec54","dark":"https://mintcdn.com/leadmagic/_o4X9taQ-eKpmHvO/logo/dark.svg?fit=max\u0026auto=format\u0026n=_o4X9taQ-eKpmHvO\u0026q=85\u0026s=cf0388099968331971afcdcdc8648869","href":"https://leadmagic.io"},"favicon":{"light":"https://mintcdn.com/leadmagic/1Av12g9mXy2gzZFP/favicon-light.png?fit=max\u0026auto=format\u0026n=1Av12g9mXy2gzZFP\u0026q=85\u0026s=95cb5828404ec3fba5f7b5e91e7c5ae6","dark":"https://mintcdn.com/leadmagic/1Av12g9mXy2gzZFP/favicon-dark.png?fit=max\u0026auto=format\u0026n=1Av12g9mXy2gzZFP\u0026q=85\u0026s=8e887b7f35826a27ab4c63ab698ae342"},"api":{"openapi":"v1/reference/openapi.yml","playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","python","javascript","go","php"],"prefill":true}},"appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#fafafa","dark":"#09090b"}},"navbar":{"links":[{"href":"https://leadmagic.io/pricing","label":"Pricing"},{"href":"https://help.leadmagic.io/en","label":"Help Center"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.leadmagic.io/settings/api"}},"footer":{"socials":{"github":"https://github.com/LeadMagic","x":"https://x.com/leadmagichq","linkedin":"https://linkedin.com/company/leadmagichq","website":"https://leadmagic.io"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"https://leadmagic.io/pricing"},{"label":"API Reference","href":"https://leadmagic.io/docs/v1/reference/introduction"},{"label":"Integrations","href":"https://leadmagic.io/docs/v1/integrations"},{"label":"Blog","href":"https://leadmagic.io/blog"}]},{"header":"Resources","items":[{"label":"Documentation","href":"https://leadmagic.io/docs/v1/introduction"},{"label":"MCP Server","href":"https://leadmagic.io/docs/mcp/introduction"},{"label":"CLI","href":"https://leadmagic.io/docs/cli/introduction"},{"label":"Compare Providers","href":"https://leadmagic.io/docs/v1/compare"},{"label":"Help Center","href":"https://help.leadmagic.io/en"}]},{"header":"Company","items":[{"label":"About","href":"https://leadmagic.io/company"},{"label":"Contact","href":"mailto:support@leadmagic.io"},{"label":"Privacy Policy","href":"https://leadmagic.io/legal/privacy"},{"label":"Terms of Service","href":"https://leadmagic.io/legal/terms"}]}]},"search":{"prompt":"Search docs..."},"seo":{"metatags":{"charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","robots":"index, follow","googlebot":"index, follow","author":"LeadMagic","theme-color":"#7C3AED","format-detection":"telephone=no","og:site_name":"LeadMagic API Documentation","og:type":"website","og:locale":"en_US","og:url":"https://leadmagic.io/docs","og:title":"LeadMagic API — B2B Data Enrichment Platform","og:description":"Enterprise-grade API for email validation, contact discovery, company intelligence, and competitive ad analysis. Trusted by sales teams worldwide.","og:image":"https://leadmagic.io/opengraph-image","twitter:card":"summary_large_image","twitter:site":"@leadmagichq","twitter:creator":"@leadmagichq","twitter:url":"https://leadmagic.io/docs","twitter:title":"LeadMagic API Documentation","twitter:description":"B2B data enrichment API for email validation, lead enrichment, mobile discovery, and company intelligence.","twitter:image":"https://leadmagic.io/opengraph-image"},"indexing":"navigable"},"fonts":{"family":"Geist"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":false},"integrations":{"posthog":{"apiKey":"phc_1utSx7g2DAWKeUw1Km0axPF5OfedVblEcUQ6Lidy0XA","apiHost":"https://leadmagic.io/_lm"}},"errors":{"404":{"redirect":true,"title":"Page not found","description":"The page you are looking for does not exist."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"fonts":{"family":"Geist"}},"metadata":{"timestamp":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leadmagic","hasAudioNarration":false,"actualSubdomain":"leadmagic","customDomains":["leadmagic.io"],"gitSource":{"type":"github","owner":"leadmagic","repo":"leadmagic-website","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21a5c9d7ed34badbc2a1de","collectionId":"7856acfd-1504-4948-9256-f0bfcd9007a7","schemaVersion":"v2"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae9160617875ca6d2a2e024:success","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Endpoints","count":36},{"language":"default","tag":"Jobs","count":15},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"CLI","count":8},{"language":"default","tag":"Helpers","count":7},{"language":"default","tag":"MCP Server","count":5},{"language":"default","tag":"Email","count":5},{"language":"default","tag":"Filters","count":5},{"language":"default","tag":"Ads","count":4},{"language":"default","tag":"Company","count":4}]},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"698a3eb64eef7d933e5ba5f9","deploymentId":"646ae281576147f78ecc947c","questionText":"How do I validate email addresses?","status":"active","generatedBy":"manual","createdAt":"2026-02-09T20:08:22.342Z","updatedAt":"2026-02-09T20:08:22.342Z","__v":0},{"_id":"698a3eb44eef7d933e5ba5f0","deploymentId":"646ae281576147f78ecc947c","questionText":"What does each API call cost?","status":"active","generatedBy":"manual","createdAt":"2026-02-09T20:08:20.955Z","updatedAt":"2026-02-09T20:08:20.955Z","__v":0},{"_id":"698a3eb34eef7d933e5ba5d8","deploymentId":"646ae281576147f78ecc947c","questionText":"How do I get my API key?","status":"active","generatedBy":"manual","createdAt":"2026-02-09T20:08:19.423Z","updatedAt":"2026-02-09T20:08:19.423Z","__v":0}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"v1/reference/b2b-ad-details","slug":"/v1/reference/b2b-ad-details","pageMetadata":{"openapi":"post /v1/ads/b2b-ads-details","og:title":"B2B Ad Details — LeadMagic","og:description":"POST — B2B Ad Details endpoint documentation for LeadMagic API.","twitter:title":"B2B Ad Details — LeadMagic","title":"B2B Ad Details","description":"Get detailed information about a specific B2B advertisement using its URL.","href":"/v1/reference/b2b-ad-details"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get detailed information about a specific B2B advertisement using its URL.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,CodeGroup,Heading,Info,ParamField,ResponseField,Step,Steps,Tab,Table,Tabs,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`b2b-ad-details`,children:`B2B Ad Details`}),`\n`,_jsx(_components.p,{children:`Get detailed information about a specific B2B professional network advertisement. Includes full creative content, video data, targeting, and performance metrics.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint-details`,children:`Endpoint Details`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Pricing`,icon:`coins`,id:`pricing`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Metric`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Cost`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`2 credits`}),` per ad`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`No Results`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`FREE`}),` if ad not found`]})]})]})]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use the ad ID from `,_jsx(_components.a,{href:`/v1/reference/b2b-ads-search`,children:`B2B Ads Search`}),` to get complete details.`]})})]}),_jsxs(Tab,{title:`Rate Limits`,icon:`gauge`,id:`rate-limits`,\"data-child-heading-ids\":`[\"per-endpoint-limit\"]`,children:[_jsx(Heading,{level:`3`,id:`per-endpoint-limit`,children:`Per-Endpoint Limit`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Metric`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Requests/Minute`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`300`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Burst Capacity`})}),_jsx(_components.td,{children:`~5 requests/second`})]})]})]}),_jsx(Info,{children:_jsxs(_components.p,{children:[`Rate limits are subject to change. Custom rate limits are available on enterprise plans — `,_jsx(_components.a,{href:`mailto:support@leadmagic.io`,children:`contact us`}),`.`]})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`quick-example`,children:`Quick Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -X`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` POST`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 'https://api.leadmagic.io/v1/ads/b2b-ads-details'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 'X-API-Key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` '{\"ad_url\": \"https://www.linkedin.com/ad-library/detail/633872143\"}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`12`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` response`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` await`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` fetch`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'https://api.leadmagic.io/v1/ads/b2b-ads-details'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` method: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'POST'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` headers: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 'X-API-Key'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` body: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`JSON`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`stringify`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` ad_url: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'https://www.linkedin.com/ad-library/detail/633872143'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` data`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` response.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`json`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`console.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`log`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:\"`Ad headline: ${\"}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`data`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`headline`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:\"}`\"}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`9`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 'https://api.leadmagic.io/v1/ads/b2b-ads-details'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` headers`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'X-API-Key'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` json`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'ad_url'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'https://www.linkedin.com/ad-library/detail/633872143'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`data `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`print`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`f`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Ad headline: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`{`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`data.get(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'headline'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`'N/A'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`}`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})]}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(ParamField,{body:`ad_url`,type:`string`,required:true,id:`param-ad-url`,children:_jsx(_components.p,{children:`The Ad Library URL or ID (from B2B Ads Search).`})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Get the `,_jsx(_components.code,{children:`ad_url`}),` from the `,_jsx(_components.code,{children:`link`}),` field in `,_jsx(_components.a,{href:`/v1/reference/b2b-ads-search`,children:`B2B Ads Search`}),` results.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`ad_id`,type:`string`,required:true,id:`param-ad-id`,children:_jsx(_components.p,{children:`Ad identifier`})}),`\n`,_jsx(ResponseField,{name:`headline`,type:`string`,id:`param-headline`,children:_jsx(_components.p,{children:`Ad headline`})}),`\n`,_jsx(ResponseField,{name:`content`,type:`string`,id:`param-content`,children:_jsx(_components.p,{children:`Full ad copy`})}),`\n`,_jsx(ResponseField,{name:`advertiser`,type:`object`,id:`param-advertiser`,children:_jsx(_components.p,{children:`Advertiser company info (name, profile URL)`})}),`\n`,_jsx(ResponseField,{name:`creative`,type:`object`,id:`param-creative`,children:_jsx(_components.p,{children:`Creative assets (images, videos)`})}),`\n`,_jsx(ResponseField,{name:`targeting`,type:`object`,id:`param-targeting`,children:_jsx(_components.p,{children:`Targeting criteria (if available)`})}),`\n`,_jsx(ResponseField,{name:`started_running`,type:`string`,id:`param-started-running`,children:_jsx(_components.p,{children:`When ad started`})}),`\n`,_jsx(ResponseField,{name:`impressions`,type:`object`,id:`param-impressions`,children:_jsx(_components.p,{children:`Impression range (if available)`})}),`\n`,_jsx(ResponseField,{name:`credits_consumed`,type:`number`,required:true,id:`param-credits-consumed`,children:_jsx(_components.p,{children:`Credits used (2 if found, 0 if not)`})}),`\n`,_jsx(Heading,{level:`3`,id:`example-response`,children:`Example Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"ad_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"633872143\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"headline\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Transform your sales with AI\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Our platform helps sales teams close more deals with AI-powered insights...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"advertiser\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"LeadMagic\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"profile_url\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"linkedin.com/company/leadmagichq\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"creative\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"https://...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"video_url\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"format\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"single_image\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"targeting\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"locations\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"United States\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Canada\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"industries\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Technology\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Finance\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"started_running\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-01-15\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"impressions\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"min\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`10000`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"max\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`50000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"credits_consumed\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`2`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Ad details found.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`success-messages`,children:`Success Messages`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`Cost`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Ad details found.`})}),_jsx(_components.td,{children:`Full ad data returned`}),_jsx(_components.td,{children:`2 credits`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Ad not found.`})}),_jsx(_components.td,{children:`Ad doesn’t exist or expired`}),_jsx(_components.td,{children:`FREE`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`workflow`,children:`Workflow`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Search for Ads`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/v1/reference/b2b-ads-search`,children:`B2B Ads Search`}),` to find ads for a company.`]})}),_jsx(Step,{title:`Get Ad IDs`,children:_jsxs(_components.p,{children:[`Extract the `,_jsx(_components.code,{children:`link`}),` field from search results.`]})}),_jsx(Step,{title:`Fetch Details`,children:_jsx(_components.p,{children:`Use this endpoint to get full creative and targeting data.`})}),_jsx(Step,{title:`Analyze`,children:_jsx(_components.p,{children:`Study messaging, targeting, and creative approaches.`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Batch strategically`,icon:`layer-group`,id:`batch-strategically`,children:_jsx(_components.p,{children:`Only fetch details for the most relevant ads from search results.`})}),_jsx(Accordion,{title:`Study targeting`,icon:`bullseye`,id:`study-targeting`,children:_jsx(_components.p,{children:`Targeting data reveals which audiences competitors prioritize.`})}),_jsx(Accordion,{title:`Download video content`,icon:`video`,id:`download-video-content`,children:_jsx(_components.p,{children:`Video URLs allow you to analyze video ad creative in detail.`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Creative Analysis`,icon:`palette`,children:_jsx(_components.p,{children:`Study complete ad creative including video content.`})}),_jsx(Card,{title:`Targeting Intelligence`,icon:`bullseye`,children:_jsx(_components.p,{children:`Understand competitor audience targeting strategies.`})}),_jsx(Card,{title:`Performance Benchmarks`,icon:`chart-bar`,children:_jsx(_components.p,{children:`Use impression data to benchmark ad performance.`})}),_jsx(Card,{title:`Competitive Reports`,icon:`file-lines`,children:_jsx(_components.p,{children:`Build detailed competitive advertising reports.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"openapi":"post /v1/ads/b2b-ads-details","og:title":"B2B Ad Details — LeadMagic","og:description":"POST — B2B Ad Details endpoint documentation for LeadMagic API.","twitter:title":"B2B Ad Details — LeadMagic","title":"B2B Ad Details","description":"Get detailed information about a specific B2B advertisement using its URL.","href":"/v1/reference/b2b-ad-details"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"B2B Ad Details","slug":"b2b-ad-details","depth":1,"children":[]},{"title":"Endpoint Details","slug":"endpoint-details","depth":2,"children":[{"title":"Per-Endpoint Limit","slug":"per-endpoint-limit","depth":3,"children":[],"tabId":"rate-limits"}]},{"title":"Quick Example","slug":"quick-example","depth":2,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Example Response","slug":"example-response","depth":3,"children":[]}]},{"title":"Success Messages","slug":"success-messages","depth":2,"children":[]},{"title":"Workflow","slug":"workflow","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]},{"title":"Use Cases","slug":"use-cases","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/leadmagic/5f1670b4f287f961/analytics-first-party.js"],"openApiReferenceData":{"operation":{"summary":"B2B Ad Details","description":"Get detailed information about a specific B2B advertisement using its URL.","operationId":"b2b-ad-details","tags":["Ads Data"],"requestBody":"c4f358d0-8cf8-4c46-81a1-ce8e9f4e8a15","responses":{"200":"76a81540-b1f1-41c0-94fd-4b09e50c78a1","400":"bee3befd-287b-4e79-a050-919223df7d95","401":"e869a0db-90c4-4320-86ce-97b1a526a9ca","402":"1da95072-0f30-46df-9233-87d05097c348","404":"2e54d067-9ba6-4b7a-bbc2-460f2fa9ea5e","429":"b5fde72e-804f-4a76-b282-67feac91abf4","500":"8e076c53-211d-4cb3-80f9-49f3fc7d9d95"},"method":"post","type":"path","servers":["132f8068-ade7-4442-8c67-2b3abf0d6ed1"],"security":["1878ab7c-6585-47d3-aa53-7cc62cb86057"],"path":"/v1/ads/b2b-ads-details","baseUrlOptions":["https://api.leadmagic.io"],"title":"B2B Ad Details","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go","php"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.ad_url":633872143}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ad_url":{"type":"string","description":"The URL of the B2B advertisement from the ad library","default":633872143,"example":633872143,"isRequired":true,"uniqueKey":"ad_url","typeLabel":"string"}},"required":["ad_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ad_url":633872143}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"76a81540-b1f1-41c0-94fd-4b09e50c78a1":{"description":"Successful response with ad details","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Ad details retrieved successfully","uniqueKey":"message","typeLabel":"string"},"credits_consumed":{"type":"number","example":2,"uniqueKey":"credits_consumed","typeLabel":"number"},"ad_details":{"type":"object","description":"Detailed information about the ad (structure varies by ad type)","properties":{"ads_type":{"type":"string","example":"Video Ad","uniqueKey":"ad_details.ads_type","typeLabel":"string"},"content":{"type":"string","example":"Start your day knowing what deals you need to focus on instead of opening up a dozen tabs in your CRM.","uniqueKey":"ad_details.content","typeLabel":"string"},"image":{"oneOf":[{"type":"string","uniqueKey":"ad_details.image.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"ad_details.image.oneOf.1","typeLabel":"null"}],"uniqueKey":"ad_details.image","typeLabel":"string | null"},"heading":{"type":"string","example":"Discover how our platform drives better sales outcomes","uniqueKey":"ad_details.heading","typeLabel":"string"},"sub_heading":{"oneOf":[{"type":"string","uniqueKey":"ad_details.sub_heading.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"ad_details.sub_heading.oneOf.1","typeLabel":"null"}],"uniqueKey":"ad_details.sub_heading","typeLabel":"string | null"},"availability_duration":{"oneOf":[{"type":"string","uniqueKey":"ad_details.availability_duration.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"ad_details.availability_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"ad_details.availability_duration","typeLabel":"string | null"},"cta":{"type":"object","properties":{"button_text":{"type":"string","example":"Learn more","uniqueKey":"ad_details.cta.button_text","typeLabel":"string"},"link":{"type":"string","example":"https://leadmagic.io/why-leadmagic/?trk=ad_library_ad_preview_headline_content","uniqueKey":"ad_details.cta.link","typeLabel":"string"}},"uniqueKey":"ad_details.cta","typeLabel":"object"},"video":{"type":"object","properties":{"video_thumbnail":{"type":"string","uniqueKey":"ad_details.video.video_thumbnail","typeLabel":"string"},"data_sources":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"ad_details.video.data_sources.items.[INDEX].type","typeLabel":"string"},"src":{"type":"string","uniqueKey":"ad_details.video.data_sources.items.[INDEX].src","typeLabel":"string"},"bitrate":{"type":"number","uniqueKey":"ad_details.video.data_sources.items.[INDEX].bitrate","typeLabel":"number"}},"uniqueKey":"ad_details.video.data_sources.items.[INDEX]","typeLabel":"object"},"uniqueKey":"ad_details.video.data_sources","typeLabel":"object[]"}},"uniqueKey":"ad_details.video","typeLabel":"object"},"total_impressions":{"oneOf":[{"type":"string","uniqueKey":"ad_details.total_impressions.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"ad_details.total_impressions.oneOf.1","typeLabel":"null"}],"uniqueKey":"ad_details.total_impressions","typeLabel":"string | null"},"country_impressions":{"type":"array","items":{"type":"string","uniqueKey":"ad_details.country_impressions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"ad_details.country_impressions","typeLabel":"string[]"},"targeting_language":{"oneOf":[{"type":"string","uniqueKey":"ad_details.targeting_language.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"ad_details.targeting_language.oneOf.1","typeLabel":"null"}],"uniqueKey":"ad_details.targeting_language","typeLabel":"string | null"},"targeting_location":{"oneOf":[{"type":"string","uniqueKey":"ad_details.targeting_location.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"ad_details.targeting_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"ad_details.targeting_location","typeLabel":"string | null"},"organization":{"type":"object","properties":{"b2b_profile":{"type":"string","uniqueKey":"ad_details.organization.b2b_profile","typeLabel":"string"},"advertiser":{"type":"string","uniqueKey":"ad_details.organization.advertiser","typeLabel":"string"}},"uniqueKey":"ad_details.organization","typeLabel":"object"},"about_ad_paying_entity":{"type":"string","uniqueKey":"ad_details.about_ad_paying_entity","typeLabel":"string"}},"uniqueKey":"ad_details","typeLabel":"object"}},"example":{"message":"Ad details retrieved successfully","credits_consumed":2,"ad_details":{"ads_type":"Video Ad","content":"Start your day knowing what deals you need to focus on instead of opening up a dozen tabs in your CRM.","image":null,"heading":"Discover how our platform drives better sales outcomes","sub_heading":null,"availability_duration":null,"cta":{"button_text":"Learn more","link":"https://leadmagic.io/why-leadmagic/?trk=ad_library_ad_preview_headline_content"},"video":{"video_thumbnail":"https://media.licdn.com/dms/image/v2/D4D10AQGzuzrGo4HoHw/videocover-high/videocover-high/0/1729725542194/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=mu3nEXijLeoh_jU49uhAGqgEWlVrH5j7oT4B4UBgezk","data_sources":[{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/progressive-servable-video/progressive-servable-video/0/1729725541436/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=OIP5SAQ2zRwNyY97Sgh0RRDUZqZvFYW0MUDHP5F8Q54","bitrate":6284199},{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/mp4-640p-30fp-crf28/mp4-640p-30fp-crf28/0/1729725548053/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=9cV-2R6MxcHoetYcg1Wuos9Wyi73haSAIgzlFFe4Izc","bitrate":245220},{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/mp4-360p-30fp-crf28/mp4-360p-30fp-crf28/0/1729725547788/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=xSM4xV1YorfPdlNWuSYqg9nacRTLE0F_DkLzdK9mgdQ","bitrate":109857},{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/mp4-720p-30fp-crf28/mp4-720p-30fp-crf28/0/1729725549253/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=f_bLk9pQQU8O5XoBapMPtqz-bZD6RQqTVLYkrYSAnlU","bitrate":316022}]},"total_impressions":null,"country_impressions":[],"targeting_language":null,"targeting_location":null,"organization":{"b2b_profile":10454372,"advertiser":"LeadMagic"},"about_ad_paying_entity":"Paid for by LeadMagic Inc."}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Ad details retrieved successfully","credits_consumed":2,"ad_details":{"ads_type":"Video Ad","content":"Start your day knowing what deals you need to focus on instead of opening up a dozen tabs in your CRM.","image":null,"heading":"Discover how our platform drives better sales outcomes","sub_heading":null,"availability_duration":null,"cta":{"button_text":"Learn more","link":"https://leadmagic.io/why-leadmagic/?trk=ad_library_ad_preview_headline_content"},"video":{"video_thumbnail":"https://media.licdn.com/dms/image/v2/D4D10AQGzuzrGo4HoHw/videocover-high/videocover-high/0/1729725542194/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=mu3nEXijLeoh_jU49uhAGqgEWlVrH5j7oT4B4UBgezk","data_sources":[{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/progressive-servable-video/progressive-servable-video/0/1729725541436/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=OIP5SAQ2zRwNyY97Sgh0RRDUZqZvFYW0MUDHP5F8Q54","bitrate":6284199},{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/mp4-640p-30fp-crf28/mp4-640p-30fp-crf28/0/1729725548053/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=9cV-2R6MxcHoetYcg1Wuos9Wyi73haSAIgzlFFe4Izc","bitrate":245220},{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/mp4-360p-30fp-crf28/mp4-360p-30fp-crf28/0/1729725547788/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=xSM4xV1YorfPdlNWuSYqg9nacRTLE0F_DkLzdK9mgdQ","bitrate":109857},{"type":"video/mp4","src":"https://dms.licdn.com/playlist/vid/v2/D4D10AQGzuzrGo4HoHw/mp4-720p-30fp-crf28/mp4-720p-30fp-crf28/0/1729725549253/InstantDemoStartofDaymp4?e=2147483647\u0026v=beta\u0026t=f_bLk9pQQU8O5XoBapMPtqz-bZD6RQqTVLYkrYSAnlU","bitrate":316022}]},"total_impressions":null,"country_impressions":[],"targeting_language":null,"targeting_location":null,"organization":{"b2b_profile":10454372,"advertiser":"LeadMagic"},"about_ad_paying_entity":"Paid for by LeadMagic Inc."}}}},"exampleType":"generated"}},"exampleType":"generated"},"bee3befd-287b-4e79-a050-919223df7d95":{"description":"Bad Request - The request was malformed or contains invalid parameters.\n\n**Common causes:**\n- Missing required fields\n- Invalid field format (e.g., malformed email)\n- Invalid JSON syntax\n- Invalid parameter values\n","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/validation_error","title":"Request validation failed. Check your input parameters.","status":400,"code":"validation_error","param":["email"],"detail":"Email format is invalid. Expected format: user@domain.com","action":"Provide a valid email address in the 'email' field.","docs":"https://leadmagic.io/docs/api-reference/errors"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"meta.environment","typeLabel":"string"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/validation_error","title":"Request validation failed. Check your input parameters.","status":400,"code":"validation_error","param":["email"],"detail":"Email format is invalid. Expected format: user@domain.com","action":"Provide a valid email address in the 'email' field.","docs":"https://leadmagic.io/docs/api-reference/errors"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e869a0db-90c4-4320-86ce-97b1a526a9ca":{"description":"Unauthorized - Authentication failed.\n\n**Common causes:**\n- Missing X-API-Key header\n- Invalid or expired API key\n- Malformed API key\n","content":{"application/problem+json":{"schema":{"oneOf":[{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/missing_authentication","title":"Authentication required. Provide a valid API key in the X-API-Key header (case-insensitive).","status":401,"code":"missing_authentication","docs":"https://leadmagic.io/docs/api-reference/authentication"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"oneOf.0.success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"oneOf.0.errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"oneOf.0.errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"oneOf.0.errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"oneOf.0.errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"oneOf.0.errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"oneOf.0.errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"oneOf.0.errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"oneOf.0.errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"oneOf.0.meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"oneOf.0.meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"oneOf.0.meta.environment","typeLabel":"string"}},"uniqueKey":"oneOf.0.meta","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/invalid_api_key","title":"Invalid API key. The key does not exist or is incorrect.","status":401,"code":"invalid_api_key","docs":"https://leadmagic.io/docs/api-reference/authentication"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"oneOf.1.success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"oneOf.1.errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"oneOf.1.errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"oneOf.1.errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"oneOf.1.errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"oneOf.1.errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"oneOf.1.errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"oneOf.1.errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"oneOf.1.errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"oneOf.1.meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"oneOf.1.meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"oneOf.1.meta.environment","typeLabel":"string"}},"uniqueKey":"oneOf.1.meta","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/missing_authentication","title":"Authentication required. Provide a valid API key in the X-API-Key header (case-insensitive).","status":401,"code":"missing_authentication","docs":"https://leadmagic.io/docs/api-reference/authentication"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"1da95072-0f30-46df-9233-87d05097c348":{"description":"Payment Required - Insufficient credits for this request.\n\n**Action required:** Add credits to your account at https://app.leadmagic.io/billing\n","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/insufficient_credits","title":"Insufficient credits: need 5, have 2.50. Add credits to continue.","status":402,"code":"insufficient_credits","detail":"This request requires 5 credit(s) but your account only has 2.50 credits remaining.","action":"Add credits to your account at https://app.leadmagic.io/billing or contact support@leadmagic.io for enterprise plans.","docs":"https://leadmagic.io/docs/api-reference/credits","context":{"credits_required":5,"credits_available":2.5,"credits_needed":2.5}}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"meta.environment","typeLabel":"string"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/insufficient_credits","title":"Insufficient credits: need 5, have 2.50. Add credits to continue.","status":402,"code":"insufficient_credits","detail":"This request requires 5 credit(s) but your account only has 2.50 credits remaining.","action":"Add credits to your account at https://app.leadmagic.io/billing or contact support@leadmagic.io for enterprise plans.","docs":"https://leadmagic.io/docs/api-reference/credits","context":{"credits_required":5,"credits_available":2.5,"credits_needed":2.5}}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2e54d067-9ba6-4b7a-bbc2-460f2fa9ea5e":{"description":"Not Found - The requested resource could not be found.\n\n**Common causes:**\n- Profile doesn't exist or is not accessible\n- Company not found in our database\n- Invalid URL or identifier\n","content":{"application/problem+json":{"schema":{"oneOf":[{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/resource_not_found","title":"Resource not found.","status":404,"code":"resource_not_found","docs":"https://leadmagic.io/docs/api-reference/errors"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"oneOf.0.success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"oneOf.0.errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"oneOf.0.errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"oneOf.0.errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"oneOf.0.errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"oneOf.0.errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"oneOf.0.errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"oneOf.0.errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"oneOf.0.errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"oneOf.0.meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"oneOf.0.meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"oneOf.0.meta.environment","typeLabel":"string"}},"uniqueKey":"oneOf.0.meta","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/profile_not_found","title":"Profile not found or not accessible","status":404,"code":"profile_not_found","docs":"https://leadmagic.io/docs/api-reference/errors"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"oneOf.1.success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"oneOf.1.errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"oneOf.1.errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"oneOf.1.errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"oneOf.1.errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"oneOf.1.errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"oneOf.1.errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"oneOf.1.errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"oneOf.1.errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"oneOf.1.meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"oneOf.1.meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"oneOf.1.meta.environment","typeLabel":"string"}},"uniqueKey":"oneOf.1.meta","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/resource_not_found","title":"Resource not found.","status":404,"code":"resource_not_found","docs":"https://leadmagic.io/docs/api-reference/errors"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b5fde72e-804f-4a76-b282-67feac91abf4":{"description":"Too Many Requests - Rate limit exceeded.\n\n**Action required:** Check the `Retry-After` header for when to retry.\n\n**Headers returned:**\n- `Retry-After`: Seconds until you can retry\n- `RateLimit-Limit`: Your limit per minute\n- `RateLimit-Remaining`: Remaining requests this minute\n- `RateLimit-Reset`: Seconds until limit resets\n","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying"},"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Maximum requests per minute"},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Remaining requests this minute"},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until limit resets"}},"content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/rate_limit_exceeded","title":"Rate limit exceeded: 300 requests per 1 minute. Wait and try again.","status":429,"code":"rate_limit_exceeded","detail":"You have exceeded the maximum allowed request rate. Please wait before making additional requests.","action":"Wait 42 seconds before retrying. Consider implementing exponential backoff.","docs":"https://leadmagic.io/docs/api-reference/rate-limits","context":{"limit":300,"window":"1 minute","remaining":0,"reset_at":1706745642,"retry_after_seconds":42}}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"meta.environment","typeLabel":"string"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/rate_limit_exceeded","title":"Rate limit exceeded: 300 requests per 1 minute. Wait and try again.","status":429,"code":"rate_limit_exceeded","detail":"You have exceeded the maximum allowed request rate. Please wait before making additional requests.","action":"Wait 42 seconds before retrying. Consider implementing exponential backoff.","docs":"https://leadmagic.io/docs/api-reference/rate-limits","context":{"limit":300,"window":"1 minute","remaining":0,"reset_at":1706745642,"retry_after_seconds":42}}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8e076c53-211d-4cb3-80f9-49f3fc7d9d95":{"description":"Internal Server Error - Something went wrong on our end.\n\n**Action required:** Wait 30 seconds and retry. If the problem persists, contact support@leadmagic.io\n","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 Problem Details error response","required":["success","errors"],"example":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/INTERNAL_ERROR","title":"Something went wrong on our end. Our team has been notified and is investigating.","status":500,"code":"INTERNAL_ERROR","detail":"This is a temporary server error. The issue has been automatically reported to our team.","action":"Wait 30 seconds and retry your request. If the problem persists, contact support@leadmagic.io","docs":"https://leadmagic.io/docs/api-reference/errors"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}},"properties":{"success":{"type":"boolean","example":false,"description":"Always false for error responses","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"errors":{"type":"array","description":"Array of error details (typically one, but can be multiple)","items":{"type":"object","description":"RFC 9457 compliant error detail","required":["type","title","status"],"properties":{"type":{"type":"string","format":"uri","description":"RFC 9457 - URI reference identifying the error type","example":"https://api.leadmagic.io/errors/validation_error","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"RFC 9457 - Short human-readable summary","example":"Request validation failed. Check your input parameters.","isRequired":true,"uniqueKey":"errors.items.[INDEX].title","typeLabel":"string"},"status":{"type":"integer","description":"RFC 9457 - HTTP status code","example":400,"isRequired":true,"uniqueKey":"errors.items.[INDEX].status","typeLabel":"integer"},"detail":{"type":"string","description":"RFC 9457 - Human-readable explanation specific to this occurrence","example":"The email field is required but was not provided.","uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"instance":{"type":"string","format":"uri","description":"RFC 9457 - URI reference for this specific occurrence","example":"/v1/people/email-validation#req_abc123","uniqueKey":"errors.items.[INDEX].instance","typeLabel":"string\u003curi>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"validation_error","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"param":{"type":"array","description":"Parameters that caused the error","items":{"type":"string","uniqueKey":"errors.items.[INDEX].param.items.[INDEX]","typeLabel":"string"},"example":["email"],"uniqueKey":"errors.items.[INDEX].param","typeLabel":"string[]"},"action":{"type":"string","description":"Suggested action to resolve the error","example":"Provide a valid email address in the 'email' field.","uniqueKey":"errors.items.[INDEX].action","typeLabel":"string"},"docs":{"type":"string","format":"uri","description":"Link to relevant documentation","example":"https://leadmagic.io/docs/api-reference/errors","uniqueKey":"errors.items.[INDEX].docs","typeLabel":"string\u003curi>"},"context":{"type":"object","description":"Additional context specific to this error type","additionalProperties":true,"uniqueKey":"errors.items.[INDEX].context","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"meta":{"type":"object","description":"Metadata included in all responses","properties":{"request_id":{"type":"string","format":"uuid","description":"Unique identifier for this request (use for debugging/support)","example":"ea6e3248-f4d2-437d-bca3-20881b529129","uniqueKey":"meta.request_id","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the response was generated","example":"2024-02-01T12:00:00.000Z","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"environment":{"type":"string","description":"API environment (production, staging)","example":"production","uniqueKey":"meta.environment","typeLabel":"string"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"errors":[{"type":"https://api.leadmagic.io/errors/INTERNAL_ERROR","title":"Something went wrong on our end. Our team has been notified and is investigating.","status":500,"code":"INTERNAL_ERROR","detail":"This is a temporary server error. The issue has been automatically reported to our team.","action":"Wait 30 seconds and retry your request. If the problem persists, contact support@leadmagic.io","docs":"https://leadmagic.io/docs/api-reference/errors"}],"meta":{"request_id":"ea6e3248-f4d2-437d-bca3-20881b529129","timestamp":"2024-02-01T12:00:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1878ab7c-6585-47d3-aa53-7cc62cb86057":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your LeadMagic API key. Header name is case-insensitive (X-API-Key, X-API-KEY, x-api-key all work).","scopes":[]}}},"servers":{"132f8068-ade7-4442-8c67-2b3abf0d6ed1":{"url":"https://api.leadmagic.io","description":"Production API Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your LeadMagic API key. Header name is case-insensitive (X-API-Key, X-API-KEY, x-api-key all work).","scopes":[]},"schema":{"title":"X-API-Key","type":"string","description":"Your LeadMagic API key. Header name is case-insensitive (X-API-Key, X-API-KEY, x-api-key all work).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"v1/reference/openapi.yml"},"subdomain":"leadmagic","siteName":"LeadMagic","title":"B2B Ad Details — LeadMagic","contextualStarterQuestions":[{"_id":"6a0a5472bc99ca8297a2562d","deploymentId":"646ae281576147f78ecc947c","questionText":"What's the rate limit for requests?","status":"active","generatedBy":"contextual","path":"v1/reference/b2b-ad-details","createdAt":"2026-05-17T23:51:14.556Z","updatedAt":"2026-05-17T23:51:14.556Z","__v":0},{"_id":"6a0a5472bc99ca8297a2562b","deploymentId":"646ae281576147f78ecc947c","questionText":"What data does this endpoint return?","status":"active","generatedBy":"contextual","path":"v1/reference/b2b-ad-details","createdAt":"2026-05-17T23:51:14.556Z","updatedAt":"2026-05-17T23:51:14.556Z","__v":0},{"_id":"6a0a5472bc99ca8297a2562c","deploymentId":"646ae281576147f78ecc947c","questionText":"How much does each API call cost?","status":"active","generatedBy":"contextual","path":"v1/reference/b2b-ad-details","createdAt":"2026-05-17T23:51:14.556Z","updatedAt":"2026-05-17T23:51:14.556Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-17T23:50:47.655Z","originalFileLocation":"v1/reference/b2b-ad-details.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get detailed information about a specific B2B advertisement using its URL.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LeadMagic\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"B2B Ad Details — LeadMagic\">\u003cmeta data-mint-head property=\"og:description\" content=\"POST — B2B Ad Details endpoint documentation for LeadMagic API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LeadMagic API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://leadmagic.io/docs/v1/reference/b2b-ad-details\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leadmagic.io/opengraph-image\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"B2B Ad Details — LeadMagic\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"B2B data enrichment API for email validation, lead enrichment, mobile discovery, and company intelligence.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leadmagic.io/opengraph-image\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/leadmagic/YCs0OVPbotrDi7rH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LeadMagic\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3AED\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"twitter:url\" content=\"https://leadmagic.io/docs\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"author\" content=\"LeadMagic\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#7C3AED\">\u003cmeta data-mint-head name=\"format-detection\" content=\"telephone=no\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@leadmagichq\">\u003clink data-mint-head rel=\"canonical\" href=\"https://leadmagic.io/docs/v1/reference/b2b-ad-details\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/v1/reference/b2b-ad-details.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://leadmagic.io/#organization\",\"name\":\"LeadMagic\",\"url\":\"https://leadmagic.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leadmagic/_o4X9taQ-eKpmHvO/logo/light.svg?fit=max\u0026auto=format\u0026n=_o4X9taQ-eKpmHvO\u0026q=85\u0026s=586839aef34c6fa857b3a749aa11ec54\"}},{\"@type\":\"WebSite\",\"@id\":\"https://leadmagic.io/docs#website\",\"name\":\"LeadMagic\",\"url\":\"https://leadmagic.io/docs\",\"publisher\":{\"@id\":\"https://leadmagic.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details#webpage\",\"url\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details\",\"name\":\"B2B Ad Details\",\"description\":\"Get detailed information about a specific B2B advertisement using its URL.\",\"dateModified\":\"2026-05-17T23:50:47.655Z\",\"isPartOf\":{\"@id\":\"https://leadmagic.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://leadmagic.io/docs/v1/reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ads\",\"item\":\"https://leadmagic.io/docs/v1/reference/google-ads-search\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"B2B Ad Details\",\"item\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details#apireference\",\"headline\":\"B2B Ad Details\",\"name\":\"B2B Ad Details\",\"description\":\"Get detailed information about a specific B2B advertisement using its URL.\",\"url\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details\",\"mainEntityOfPage\":{\"@id\":\"https://leadmagic.io/docs/v1/reference/b2b-ad-details#webpage\"},\"image\":\"https://leadmagic.io/opengraph-image\",\"dateModified\":\"2026-05-17T23:50:47.655Z\",\"publisher\":{\"@id\":\"https://leadmagic.io/#organization\"},\"isPartOf\":{\"@id\":\"https://leadmagic.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LeadMagic\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LeadMagic","nav":{"global":null,"groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Introduction","icon":"play","href":"/v1/introduction"},{"title":"Quickstart","icon":"bolt","href":"/v1/quickstart"},{"title":"Use Cases","icon":"sparkles","href":"/v1/use-cases"},{"title":"Authentication","icon":"key","href":"/v1/authentication"},{"title":"Making API Calls","icon":"code","href":"/v1/making-api-calls"},{"title":"Credits \u0026 Pricing","icon":"coins","href":"/v1/credits"},{"title":"Developer Experience","icon":"code","href":"/v1/developer-experience"},{"title":"Integrations","icon":"plug","href":"/v1/integrations"},{"title":"Support \u0026 Policies","icon":"headset","href":"/v1/support"}]},{"group":"API Endpoints","icon":"code-merge","pages":[{"title":"API Reference","icon":"code","href":"/v1/reference/introduction"},{"group":"Account","icon":"gauge","expanded":false,"pages":[{"title":"Check Credits","openapi":"get /v1/credits","href":"/v1/reference/check-credits"},{"title":"Analytics API","openapi":"get /v1/analytics/dashboard","href":"/v1/reference/analytics"}]},{"group":"Email","icon":"envelope-open","expanded":false,"pages":[{"title":"Email Validation API","openapi":"post /v1/people/email-validation","href":"/v1/reference/email-validation"},{"title":"Email Finder API","openapi":"post /v1/people/email-finder","href":"/v1/reference/email-finder"},{"openapi":"post /v1/people/b2b-profile","title":"Email Address to B2B Person Profile","href":"/v1/reference/email-to-profile"},{"openapi":"post /v1/people/b2b-profile-email","title":"B2B Person Profile to Email","href":"/v1/reference/profile-to-email"},{"openapi":"post /v1/people/personal-email-finder","title":"Personal Email Finder","href":"/v1/reference/personal-email-finder"}]},{"group":"Contact","icon":"user","expanded":false,"pages":[{"openapi":"post /v1/people/profile-search","title":"B2B Person Profile","href":"/v1/reference/profile-search"},{"openapi":"post /v1/people/role-finder","title":"Role Finder","href":"/v1/reference/role-finder"},{"title":"Job Change Detector API","openapi":"post /v1/people/job-change-detector","href":"/v1/reference/job-change-detector"},{"openapi":"post /v1/people/mobile-finder","title":"Mobile Finder","href":"/v1/reference/mobile-finder"}]},{"group":"People","icon":"users","expanded":false,"pages":[{"title":"People Search","tag":"New","openapi":"post /v3/people/search","href":"/v1/reference/people-search"}]},{"group":"Company","icon":"building","expanded":false,"pages":[{"title":"Company Search","tag":"New","openapi":"post /v3/companies/search","href":"/v1/reference/company-search"},{"openapi":"post /v1/companies/company-funding","title":"Company Funding","href":"/v1/reference/company-funding"},{"title":"Company Lookalike","tag":"New","openapi":"post /v3/companies/lookalike","href":"/v1/reference/company-lookalike"},{"openapi":"post /v1/companies/technographics","title":"Company Technographics","href":"/v1/reference/technographics"}]},{"group":"Jobs","icon":"briefcase","expanded":false,"pages":[{"title":"Job Search","tag":"New","openapi":"post /v3/jobs/search","href":"/v1/reference/job-search"},{"title":"Search Stats","tag":"New","openapi":"post /v3/search/stats","href":"/v1/reference/search-stats"},{"group":"Helpers","icon":"wand-magic-sparkles","expanded":false,"pages":[{"title":"Job Search Helpers","openapi":"post /v3/jobs/search/resolve","href":"/v1/reference/job-search-helpers"},{"title":"Job Search Companies","openapi":"get /v3/jobs/search/companies","href":"/v1/reference/job-search-companies"},{"title":"Job Search Tags","openapi":"get /v3/jobs/search/tags","href":"/v1/reference/job-search-tags"},{"title":"Job Search Titles","openapi":"get /v3/jobs/search/titles","href":"/v1/reference/job-search-titles"},{"title":"Job Search Occupation Taxonomy","openapi":"get /v3/jobs/search/occupation-taxonomy","href":"/v1/reference/job-search-occupation-taxonomy"},{"title":"Job Search Locations","openapi":"get /v3/jobs/search/locations","href":"/v1/reference/job-search-locations"},{"title":"Job Search Catalogs","openapi":"get /v3/jobs/search/catalogs","href":"/v1/reference/job-search-catalogs"}]},{"group":"Filters","icon":"filter","expanded":false,"pages":[{"openapi":"get /v1/jobs/countries","title":"Job Country","href":"/v1/reference/job-country"},{"openapi":"get /v1/jobs/regions","title":"Job Region","href":"/v1/reference/job-regions"},{"openapi":"get /v1/jobs/job-types","title":"Job Type","href":"/v1/reference/job-types"},{"openapi":"get /v1/jobs/company-types","title":"Job Company Type","href":"/v1/reference/job-company-types"},{"openapi":"get /v1/jobs/industries","title":"Job Industry","href":"/v1/reference/job-industry"}]},{"title":"Job Search","tag":"Deprecated","openapi":"post /v1/jobs/jobs-finder","href":"/v1/reference/jobs-finder"}]},{"group":"Ads","icon":"rectangle-ad","expanded":false,"pages":[{"openapi":"post /v1/ads/google-ads-search","title":"Google Ads Search","href":"/v1/reference/google-ads-search"},{"openapi":"post /v1/ads/meta-ads-search","title":"Meta Ads Search","href":"/v1/reference/meta-ads-search"},{"openapi":"post /v1/ads/b2b-ads-search","title":"B2B Search Ads","description":"Search for B2B ads by company domain or name.","href":"/v1/reference/b2b-ads-search"},{"openapi":"post /v1/ads/b2b-ads-details","title":"B2B Ad Details","href":"/v1/reference/b2b-ad-details"}]}]},{"group":"MCP Server","icon":"server","tag":"Beta","pages":[{"title":"LeadMagic MCP Server","description":"Use LeadMagic enrichment, bulk jobs, analytics, and account intelligence directly inside AI assistants","icon":"server","href":"/mcp/introduction"},{"title":"Setup","icon":"gear","href":"/mcp/setup"},{"title":"Authentication","icon":"key","href":"/mcp/authentication"},{"title":"Tools, Resources \u0026 Prompts","icon":"wrench","href":"/mcp/tools"},{"title":"Troubleshooting","icon":"circle-question","href":"/mcp/troubleshooting"}]},{"group":"CLI","icon":"terminal","tag":"Beta","pages":[{"title":"LeadMagic CLI","icon":"terminal","href":"/cli/introduction"},{"title":"Installation","icon":"download","href":"/cli/installation"},{"title":"Authentication","icon":"key","href":"/cli/authentication"},{"title":"Quickstart","icon":"bolt","href":"/cli/quickstart"},{"title":"Command Reference","icon":"book","href":"/cli/commands"},{"title":"AI Chat","icon":"message","href":"/cli/chat"},{"title":"Configuration","icon":"sliders","href":"/cli/configuration"},{"title":"Troubleshooting","icon":"circle-question","href":"/cli/troubleshooting"}]},{"group":"Compare","icon":"scale-balanced","hidden":true,"pages":[{"title":"Compare","icon":"scale-balanced","href":"/v1/compare"},{"title":"Alternatives","icon":"scale-balanced","href":"/v1/alternatives"}]}]},"basePath":"","title":"B2B Ad Details — LeadMagic","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CTxrMSpo.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}