Skip to Content

The Best Datreal Yet: Real Estate Maps, a New Design, Dark Mode. Read the Changelog

Datreal

Discover the API Surface

GET /api/public/v1 lists endpoints, parameters, fields, rate limits and example URLs.

API Documentation

The discovery root describes the API without requiring the documentation page. One GET returns endpoints, parameters, response shapes, rate limits and working example URLs.

Who This Is For

  • Developers exploring the API for the first time without reading the docs
  • AI agents (Claude, ChatGPT, Cursor) that need to discover capabilities at runtime
  • OpenAPI / SDK generators that emit typed clients from a machine-readable spec

Common Scenarios

  • 01

    Bootstrap an AI Agent

    Fetch /api/public/v1 when an agent starts to describe available endpoints.

  • 02

    Generate a Typed Client

    Generate TypeScript or Python clients from parameter names and response types.

  • 03

    Programmatic Capability Checks

    Check the discovery payload before calling a potentially unavailable endpoint.

Endpoints

  • GET/

    Self-describing JSON: every endpoint, parameter, response field, rate limit and worked example.

    GET / · Request
    curl "https://datreal.com/api/public/v1"

Frequently Asked Questions

  • Is this an OpenAPI spec?

    It is not OpenAPI 3.x. The payload contains the information needed to generate it.
  • Will this stay backwards-compatible?

    The shape is part of the stable public API contract. New fields are additive.
  • Where's the MCP server?

    See /api-docs#mcp-server for the MCP server. Use discovery when building your own client.

Let Your AI Agent Discover the API

One GET. Whole surface as JSON. No docs page required.

Try a Live Request
  1. Home
  2. API Solutions
  3. API discovery

Explore

  • Search Datreal
  • Industries
  • Comparisons
  • Real Estate

Useful

  • Salary Calculator
  • Unemployment Benefit Calculator
  • Dividend Tax Calculator
  • Maternity Benefit Calculator
  • Sick Leave Calculator
  • Glossary
  • Find Companies in One Step

For Developers

  • API Solutions
  • API Documentation
  • MCP Server

Contact

Share feedback, ask a question, or contribute.

© 2026 Datreal

  • Changelog
  • Privacy Policy
  • Terms of Use
  • Legal and Data Notice
•Status Opens in a New Tab
Searchcompaniesreal estatepeoplecompaniesSearch Datreal
—
•
•