HTTP 요청을 보낼 수 있는 에이전트라면 누구나 이곳에서 의무 사항 확인, 견적 산출, 시뮬레이션 온보딩 전 과정을 키나 계정 없이 실행할 수 있습니다. 서명과 결제는 여전히 사람이 직접 해야 합니다.
작성자 Razvan Toma · 창립자 · 최종 확인일 2026년 11월 1일
네, AI 에이전트가 이 API를 스스로 테스트할 수 있습니다. 필요한 것은 HTTP GET과 POST뿐입니다. 탐색 전용 에이전트는 이 페이지를 읽을 수는 있지만 단계를 실행할 수는 없습니다.
| 에이전트가 하는 일 | 엔드포인트 | 효과 |
|---|---|---|
| 국가 및 예상 품목군 확인 | POST /check | 데이터만 반환 |
| 프랑스 관련 질문 보기 | GET /france/questionnaire | 데이터만 반환 |
| 실시간 가격 기준 견적 | POST /quote | 데이터만 반환 |
| 국가별 절차 시뮬레이션 | POST /sandbox/onboardings | 시뮬레이션이며 아무것도 생성되지 않습니다 |
| 개인용 결제 링크 준비하기 | POST /onboarding-links | 링크를 반환하며, 사람이 결제하기 전에는 아무것도 주문되지 않습니다 |
기본 URL은 https://epreurep.com/api/v1입니다. HTTPS를 통해 JSON을 주고받으며, IP당 분당 30회로 요청이 제한됩니다. 가격에는 부가가치세(VAT)가 포함되어 있지 않습니다.
| 파일 | 활용 대상 |
|---|---|
| openapi.json | 모든 엔드포인트의 정확한 계약 사양 |
| 이 페이지의 Markdown 버전 | 이 빠른 시작 가이드를 일반 텍스트로 보기 |
| 전체 문서를 Markdown으로 보기 | 모든 규정, 필드 및 오류 |
| llms.txt | EPR EU Rep에 관해 인용할 수 있는 모든 페이지와 사실 정보 |
이 다섯 단계가 전체 과정입니다. 각 예시는 실제 API가 반환한 결과를 보여 줍니다.
curl -X POST https://epreurep.com/api/v1/check \
-H 'content-type: application/json' \
-d '{"countries":["FR","DE","ES"],"products":["cotton t-shirt","toy car"]}'{
"ok": true,
"countries": [
{ "code": "FR", "covered": true, "name": "France" },
{ "code": "DE", "covered": true, "name": "Germany" },
{ "code": "ES", "covered": true, "name": "Spain" }
],
"streams": ["household-packaging", "textiles-clothing-and-footwear-tlc", "toys"],
"indicative": true,
"note": "A first guess from product words. Whether you are the producer depends on your sales channels and establishment."
}streams는 products에 포함된 단어를 바탕으로 한 1차 추정값이며, indicative는 항상 true입니다. 견적을 제시하기 전에 고객과 함께 품목군(stream)을 확인하십시오.
curl https://epreurep.com/api/v1/france/questionnaire필수 답변 세 가지, 각 품목군별 최저가 플랜, 그리고 플랜 규칙을 반환합니다. 추측하지 마시고 고객에게 이 질문들을 직접 확인하십시오.
curl -X POST https://epreurep.com/api/v1/quote \
-H 'content-type: application/json' \
-d '{"france":{"sells_to":"consumers","streams":["toys"],"tonnes":"up_to_1"},"germany":{"packaging_kg":{"paper":120,"plastic":40}},"spain":{"plan":"essential","nif":true}}'{
"ok": true,
"custom_quote": false,
"total": 977,
"currency": "EUR",
"lines": [
{ "country": "FR", "item": "France Standard", "eur": 380, "per": "year" },
{ "country": "DE", "item": "Germany packaging", "eur": 149, "per": "year" },
{ "country": "ES", "item": "Spain Essential", "eur": 199, "per": "year" },
{ "country": "ES", "item": "Spanish NIF", "eur": 249, "per": "one-off" }
],
"france": { "plan": "Standard", "streams": ["household-packaging", "toys"], "stream_count": 2, "tonnes": "up_to_1", "why": [] },
"germany": { "dual_system_estimate": { "eur": 121.43, "year": 2026, "vat_included": true, "charged": "in your client portal, before we accept the LUCID appointment" } },
"note": "Indicative. Scheme fees and eco-contributions are billed separately at cost. Prices exclude VAT."
}custom_quote가 true이면 해당 주문은 Enterprise에 해당합니다. 프랑스로 10톤을 초과하여 출하하거나 프랑스 품목군이 3개를 초과하는 경우입니다. total은 null이며, 견적은 당사만 산출할 수 있습니다.
curl -X POST https://epreurep.com/api/v1/sandbox/onboardings \
-H 'content-type: application/json' \
-d '{"countries":["DE"]}'{
"ok": true,
"sandbox": true,
"id": "sbx_...",
"countries": [{
"country": "DE",
"status": "order_paid",
"completed": ["order_paid"],
"next": { "step": "mandate_signed", "client_action_required": true },
"registration_number": null
}],
"complete": false
}5초마다 한 단계씩 진행됩니다. 프랑스는 3단계, 독일은 5단계, 스페인은 4단계이므로 독일은 20초 후에 완료됩니다.
ID=$(curl -s -X POST https://epreurep.com/api/v1/sandbox/onboardings \
-H 'content-type: application/json' -d '{"countries":["DE"]}' | python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
sleep 25
curl -s https://epreurep.com/api/v1/sandbox/onboardings/$ID{
"ok": true,
"sandbox": true,
"countries": [{
"country": "DE",
"status": "registered",
"completed": ["order_paid", "mandate_signed", "dual_system_paid", "appointed_in_lucid", "registered"],
"next": null,
"registration_number": "DE-TEST-0000000000000"
}],
"complete": true,
"note": "Simulated. No order, mandate, payment or registration exists. Test numbers are not valid anywhere."
}complete가 true가 되면 폴링을 중단하십시오. id에 전체 상태가 담겨 있으므로 계속 작동하며, 당사 측에는 아무것도 저장되지 않습니다.
curl -X POST https://epreurep.com/api/v1/onboarding-links \
-H 'content-type: application/json' \
-d '{"partner":"northstar","france":{"sells_to":"consumers","streams":["toys"],"tonnes":"up_to_1"},"company":"Example Ltd","email":"owner@example.com"}'{
"ok": true,
"custom_quote": false,
"url": "https://epreurep.com/checkout/?fr=0&frs=toys&fr_seg=cons&ref=northstar#company=Example+Ltd&email=owner%40example.com",
"note": "The client confirms the details, signs and pays at this link. Paid orders are tracked to the partner."
}northstar는 테스트용 데모 코드입니다. 파트너는 각자의 코드를 사용합니다. 링크를 해당 담당자에게 전달하십시오. 회사명과 이메일은 URL 프래그먼트에 담기며, 서버로 전송되지 않습니다.
DE-TEST-0000000000000와 같은 번호는 어느 곳에서도 유효하지 않습니다.client_action_required가 true인 경우 작업을 중단하고, 고객이 해야 할 일을 안내해 주십시오./check는 첫 번째 추정치로만 활용하십시오. 누가 생산자인지는 판매 채널과 사업장 소재지에 따라 달라집니다.| 국가 | 고객이 직접 진행하는 단계 |
|---|---|
| 프랑스 | 온라인으로 진행 가능한 위임장 서명 |
| 독일 | 위임장에 직접 서명하거나 적격 전자서명으로 서명하고, LUCID에 대리인을 지정합니다 |
| 스페인 | 위임장에 서명해 주십시오. 이후 위임장 검증이 진행되며 시간이 다소 걸릴 수 있습니다 |
등록과 신고는 저희 팀이 직접 처리하므로 몇 초가 아니라 며칠이 소요됩니다. 자세한 내용은 EPR 등록을 완전히 자동화할 수 없는 이유에서 확인하실 수 있습니다.
오류가 발생하면 HTTP 상태 코드와 함께 ok: false, error 코드, message가 포함된 응답 본문이 반환됩니다.
| 상태 | error | 해야 할 일 |
|---|---|---|
| 400 | invalid_json | JSON 객체 전송 |
| 400 | invalid_request | message는 해당 필드를 알려줍니다. 수정 후 다시 시도하십시오 |
| 400 | unknown_partner | 유효한 파트너 코드를 사용하세요 |
| 404 | not_found | 경로 또는 샌드박스 ID를 확인하십시오 |
| 405 | method_not_allowed | 이 경로에는 POST를 사용하십시오 |
| 429 | 대기 후 재시도 |
HTTP 요청을 보낼 수 있는 모든 에이전트에 이 내용을 붙여넣으십시오.
Test the EPR EU Rep API from start to finish.
1. Read https://epreurep.com/developers/ai-agents/index.md and https://epreurep.com/developers/openapi.json
2. POST /api/v1/check for a seller of cotton t-shirts in FR, DE and ES.
3. GET /api/v1/france/questionnaire and POST /api/v1/quote with the answers.
4. POST /api/v1/sandbox/onboardings for FR, DE and ES, then poll the id until complete is true.
5. Report each step's status, and which steps need the client personally.
It is a simulation: never present a test number as a real registration.