Loading
Code Deb

JavaScript

JavaScript can call the current JSON POST lookup endpoints directly or from a trusted server.

Technical documentation for 27 Code Deb JavaScript and TypeScript SDKs, Verify and MCP APIs and the developer platform. Browse API references, authentic implementation examples and provider boundaries. Check actual npm availability before installing.

JavaScript can call the current JSON POST lookup endpoints directly or from a trusted server.

Fetch request

For public domain-only information, send the hostname and inspect HTTP status before interpreting the response. Keep full email addresses off the wire unless your flow explicitly requires address-level hints.

const response = await fetch("https://www.codedeb.com/api/tools/domain-intelligence", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ value: "example.org" }),
});
if (!response.ok) throw new Error("Lookup failed: " + response.status);
const result = await response.json();
console.log(result.disposable.status);

Important

Do not automatically reject an account because a result is unknown. Also handle rate limits and request cancellation in your application.

Machine-readable contract

  • Canonical chapter: https://www.codedeb.com/docs/verify/javascript
  • Reference: https://www.codedeb.com/docs.md
  • Documentation index: https://www.codedeb.com/llms.txt
  • OpenAPI: https://www.codedeb.com/api/tools/domain-intelligence/openapi.json

More from Code Deb

Read about our agency, explore available services, or contact the team for a project discussion.