> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agribackup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AgriBackup: EUDR Compliance API for Agricultural Importers

> AgriBackup is the cryptographic compliance engine for EU-bound commodity imports. Automate EUDR due diligence, polygon verification, and DDS filing.

AgriBackup gives commodity importers and their ERP systems a single API to meet every requirement of the EU Deforestation Regulation. Submit farm polygons for satellite screening, anchor batches on the Hedera ledger, and file Due Diligence Statements to TRACES NT — all programmatically.

<CardGroup cols={2}>
  <Card title="Quick Start" icon="bolt" href="/quickstart">
    Make your first API call and complete the compliance lifecycle in minutes.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Generate an API key and authenticate every request securely.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/introduction">
    Explore all endpoints, request schemas, and response shapes.
  </Card>

  <Card title="EUDR Compliance" icon="shield-check" href="/concepts/eudr-compliance">
    Understand how AgriBackup maps to EUDR requirements end-to-end.
  </Card>
</CardGroup>

## How It Works

AgriBackup implements the complete EUDR compliance lifecycle as a REST API. Each stage of the workflow builds on the previous one and results in an immutable, cryptographically signed audit trail.

<Steps>
  <Step title="Authenticate">
    Generate an API key from your [Dashboard](https://dashboard.agribackup.com) and pass it in the `Authorization: Bearer` header on every request.
  </Step>

  <Step title="Ingest Farm Polygons">
    Upload GeoJSON polygons for your supplier farm plots. AgriBackup runs satellite deforestation screening asynchronously and notifies you via webhook when verification completes.
  </Step>

  <Step title="Register a Commodity Batch">
    Create a batch record that references your verified polygons, supplier, quantity, and harvest date. The batch is anchored on the Hedera DLT.
  </Step>

  <Step title="Link to a Shipment">
    Attach the batch to a Bill of Lading reference. AgriBackup cryptographically links the batch to the shipment on-chain.
  </Step>

  <Step title="Generate & File a DDS">
    Generate a Due Diligence Statement and submit it directly to TRACES NT via the API. Retrieve the finalized XML payload for your records.
  </Step>
</Steps>

## Explore by Topic

<CardGroup cols={3}>
  <Card title="Polygon Ingestion" icon="map" href="/guides/polygon-ingestion">
    Upload and verify GeoJSON farm polygons.
  </Card>

  <Card title="Batch Registration" icon="box" href="/guides/batch-registration">
    Register consolidated commodity batches.
  </Card>

  <Card title="Logistics Linking" icon="truck" href="/guides/logistics-linking">
    Link batches to shipments via Bill of Lading.
  </Card>

  <Card title="DDS Generation" icon="file-certificate" href="/guides/dds-generation">
    Generate and file Due Diligence Statements.
  </Card>

  <Card title="Webhooks" icon="webhook" href="/guides/webhooks-setup">
    Receive real-time compliance event notifications.
  </Card>

  <Card title="Error Codes" icon="circle-exclamation" href="/reference/error-codes">
    Handle API errors and rejection responses.
  </Card>
</CardGroup>

## SDKs

AgriBackup offers official client libraries for Python, Node.js, and Java so you can integrate without writing raw HTTP calls.

<CodeGroup>
  ```bash Python theme={null}
  pip install agribackup-sdk
  ```

  ```bash Node.js theme={null}
  npm install @agribackup/sdk
  ```

  ```xml Java (Maven) theme={null}
  <dependency>
    <groupId>com.agribackup</groupId>
    <artifactId>agribackup-sdk</artifactId>
    <version>1.0.0</version>
  </dependency>
  ```
</CodeGroup>

<Note>
  The SDK automatically resolves the correct base URL from your API key prefix — `sk_live_` for production and `sk_test_` for the sandbox. You never need to configure the base URL manually.
</Note>
