Attestly is a B2B API that turns a polygon and a ruleset into a compliance verdict. Send geometry, get back which protected areas it overlaps, how far it is from sensitive zones, whether the parties involved appear on sanctions lists — all in a single call.Documentation Index
Fetch the complete documentation index at: https://code4source.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What you can do
- Check compliance:
POST /v1/evaluateruns a ruleset (yours or from the catalog) over a polygon and returns a structured verdict —COMPLIANT,WARNING,NON_COMPLIANT, orDEGRADED. - Discover overlaps:
POST /v1/intersectionslists every reference area that intersects a polygon, with overlap area and ratio. - Measure distances:
POST /v1/distancereturns nearest features within a radius range. - Match a subject:
POST /v1/subjectschecks a typed identifier (CNPJ, EIN, OFAC SDN, etc.) against subject registers. - Browse the catalog:
GET /v1/sources,GET /v1/rulesetsto see which datasets and rulesets are available to your organization.
How it fits together
The discovery endpoints (/intersections, /distance, /subjects)
answer raw questions about a geometry or identifier. /evaluate runs
a full ruleset — your compliance policy expressed as a JSON
document — and returns a structured verdict. Most customers start
with discovery and move to /evaluate once their policy stabilizes.
Where to go next
Quickstart
Make your first request in under a minute.
How it works
Geometry → sources → checks → verdict.
Authoring rulesets
Encode your compliance policy as a JSON ruleset.
API Reference
Endpoint contracts and request/response shapes.