🚀 Due Diligence API

Interactive API Documentation & Testing Interface

🔑Authentication

Enter your OAuth2 Bearer token to test the API endpoints. The token will be automatically added to all requests.

📋API Templates

Get sample data structures and field descriptions for API operations. No authentication required.

GET http://eudr-ddapi.geodatalab.cloud/api/due-diligence/templates/
curl -X GET "http://eudr-ddapi.geodatalab.cloud/api/due-diligence/templates/"

📝Create Due Diligence

Create a new due diligence record with metadata and geometry.

POST http://eudr-ddapi.geodatalab.cloud/api/due-diligence/
Request Body (JSON)
Field Descriptions
Required Fields:
  • supplier - Name of the supplier
  • supplier_contact - Contact email
  • start_date - Start date (YYYY-MM-DD)
  • end_date - End date (YYYY-MM-DD)
  • crs - Coordinate reference system
  • commodity_type - Type of commodity
Valid Commodity Types:
BOVINI CACAO CAFFE PALMA DA OLIO GOMMA SOIA LEGNO OTHERS
curl -X POST "http://eudr-ddapi.geodatalab.cloud/api/due-diligence/" \ -H "Authorization: Bearer YOUR_TOKEN_HERE" \ -H "Content-Type: application/json" \ -d '{"metadata": {"supplier": "Example Supplier"}}'

📋List Due Diligence

Retrieve all due diligence records with optional filtering.

GET http://eudr-ddapi.geodatalab.cloud/api/due-diligence/
curl -X GET "http://eudr-ddapi.geodatalab.cloud/api/due-diligence/" \ -H "Authorization: Bearer YOUR_TOKEN_HERE"

🔍Get Single Due Diligence

Retrieve a specific due diligence record by external ID.

GET http://eudr-ddapi.geodatalab.cloud/api/due-diligence/{external_id}/
curl -X GET "http://eudr-ddapi.geodatalab.cloud/api/due-diligence/EXTERNAL_ID_HERE/" \ -H "Authorization: Bearer YOUR_TOKEN_HERE"

🔄Transition Due Diligence

Update the state of a due diligence record (Worker scope required).

POST http://eudr-ddapi.geodatalab.cloud/api/due-diligence/{external_id}/transition/
Request Body (JSON)
Note: This endpoint requires worker scope. Regular updates (PUT/PATCH) are not allowed since data is processed.
curl -X POST "http://eudr-ddapi.geodatalab.cloud/api/due-diligence/EXTERNAL_ID_HERE/transition/" \ -H "Authorization: Bearer YOUR_TOKEN_HERE" \ -H "Content-Type: application/json" \ -d '{"module": "validator", "new_state": "APPROVED"}'

🗑️Delete Due Diligence

Delete a due diligence record (Write scope required).

DELETE http://eudr-ddapi.geodatalab.cloud/api/due-diligence/{external_id}/
curl -X DELETE "http://eudr-ddapi.geodatalab.cloud/api/due-diligence/EXTERNAL_ID_HERE/" \ -H "Authorization: Bearer YOUR_TOKEN_HERE"