GET/api/v1/talepler
Your company's quote opportunities: open requests in your sectors and requests sent privately to you (same list as panel → Quote opportunities). For a request in early access the description, fields and budget are empty and locked_until is set.
page- Page (starts at 1)
per_page- Records per page (max 100, default 20)
all- 1 = all open requests without the sector filter
Example request
bash
curl -s "https://energyexporter.com/api/v1/talepler?per_page=20" \
-H "Authorization: Bearer $EE_API_KEY"
Example response
json
{
"data": [
{
"id": 41,
"title": "100 MWac GES projesi için EPC teklifi",
"kind": "standard",
"status": "open",
"is_private": false,
"category_id": 1,
"country": "RO",
"city": "Constanța",
"quantity": "100 MWac",
"deadline": "2026-12-15",
"description": "…",
"budget": null,
"currency": "EUR",
"specs": {},
"has_attachments": true,
"locked_until": null,
"offer_count": 3,
"my_offer_status": null,
"published_at": "2026-11-10T08:00:00.000Z",
"created_at": "2026-11-10T08:00:00.000Z",
"url": "https://energyexporter.com/tr/talep/41"
}
],
"meta": {
"page": 1,
"per_page": 20,
"has_more": false
}
}
GET/api/v1/talepler/{id}
A single request. The requester's name and contact (requester) is included only if you have quoted on the request.
Example request
bash
curl -s "https://energyexporter.com/api/v1/talepler/41" -H "Authorization: Bearer $EE_API_KEY"
Example response
json
{
"data": {
"id": 41,
"title": "100 MWac GES projesi için EPC teklifi",
"kind": "standard",
"status": "open",
"is_private": false,
"category_id": 1,
"country": "RO",
"city": "Constanța",
"quantity": "100 MWac",
"deadline": "2026-12-15",
"description": "…",
"budget": null,
"currency": "EUR",
"specs": {},
"has_attachments": true,
"locked_until": null,
"offer_count": 3,
"my_offer_status": null,
"published_at": "2026-11-10T08:00:00.000Z",
"created_at": "2026-11-10T08:00:00.000Z",
"url": "https://energyexporter.com/tr/talep/41",
"requester": null,
"my_offer": null
}
}
POST/api/v1/teklifler
Sends a quote; updates your existing quote on the same request (200). If you send items, the total is calculated on the server. When your monthly quota is used up, extra-quote credits are spent only with use_credits: true.
Body: request_id, price or items[], currency (TRY/USD/EUR/GBP), delivery_days, valid_until (YYYY-MM-DD), note, payment_terms, delivery_terms, unit_price + price_unit, specs, use_credits
Example request
bash
curl -s -X POST "https://energyexporter.com/api/v1/teklifler" \
-H "Authorization: Bearer $EE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: quote-41-v1" \
-d '{"request_id":41,"currency":"EUR","delivery_days":120,"valid_until":"2026-12-31","items":[{"description":"EPC – 100 MWac","quantity":1,"unit":"lot","unit_price":1000000,"vat_rate":20}],"unit_price":0.21,"price_unit":"Wp","note":"Details in the attached technical offer."}'
Example response
json
{
"data": {
"id": 77,
"request_id": 41,
"request_title": "100 MWac GES projesi için EPC teklifi",
"status": "sent",
"price": 1200000,
"currency": "EUR",
"subtotal": 1000000,
"vat_total": 200000,
"delivery_days": 120,
"valid_until": "2026-12-31",
"payment_terms": "30% advance, 70% on delivery",
"delivery_terms": "DAP Constanța",
"note": "",
"unit_price": 0.21,
"price_unit": "Wp",
"specs": {},
"items": [
{
"description": "EPC – 100 MWac",
"quantity": 1,
"unit": "lot",
"unit_price": 1000000,
"vat_rate": 20
}
],
"created_at": "2026-11-10T09:12:00.000Z",
"updated_at": "2026-11-10T09:12:00.000Z"
},
"result": "created"
}
GET/api/v1/tekliflerim
Your quotes (newest first).
status- Filter by status: sent, accepted, rejected, withdrawn
page- Page (starts at 1)
per_page- Records per page (max 100, default 20)
Example request
bash
curl -s "https://energyexporter.com/api/v1/tekliflerim?status=accepted" -H "Authorization: Bearer $EE_API_KEY"
Example response
json
{
"data": [
{
"id": 77,
"request_id": 41,
"request_title": "100 MWac GES projesi için EPC teklifi",
"status": "accepted",
"price": 1200000,
"currency": "EUR",
"subtotal": 1000000,
"vat_total": 200000,
"delivery_days": 120,
"valid_until": "2026-12-31",
"payment_terms": "30% advance, 70% on delivery",
"delivery_terms": "DAP Constanța",
"note": "",
"unit_price": 0.21,
"price_unit": "Wp",
"specs": {},
"items": [
{
"description": "EPC – 100 MWac",
"quantity": 1,
"unit": "lot",
"unit_price": 1000000,
"vat_rate": 20
}
],
"created_at": "2026-11-10T09:12:00.000Z",
"updated_at": "2026-11-10T09:12:00.000Z"
}
],
"meta": {
"page": 1,
"per_page": 20,
"has_more": false
}
}
GET/api/v1/ilanlar
Your product and service listings (deleted ones excluded).
status- Filter by status: active, passive, suspended
page- Page (starts at 1)
per_page- Records per page (max 100, default 20)
Example request
bash
curl -s "https://energyexporter.com/api/v1/ilanlar" -H "Authorization: Bearer $EE_API_KEY"
Example response
json
{
"data": [
{
"id": 15,
"type": "product",
"status": "active",
"category_id": 1,
"title": "550 Wp Monokristal Güneş Paneli",
"title_en": "550 Wp Mono Solar Panel",
"description": "…",
"description_en": "",
"brand": "Anadolu",
"model": "AS-550",
"min_order": "1 palet",
"price_note": "",
"specs": {
"panel_gucu": 550
},
"image_url": null,
"url": "https://energyexporter.com/tr/ilan/15",
"created_at": "2026-11-10T09:00:00.000Z"
}
],
"meta": {
"page": 1,
"per_page": 20,
"has_more": false
}
}
POST/api/v1/ilanlar
New listing (package listing limit and category fields are validated). When listing review is on, the response has status: "pending" and review { status, eta_hours, reason }; it goes live once an admin approves it. An image is required: without image_base64 (JPG/PNG/WEBP, max 190 KB) you get 422 image_required; draft: true creates a draft without an image.
Body: type (product/service), category_id, title, title_en, description, description_en, brand, model, min_order, price_note, status (active/passive), specs, image_base64 (image, ≤ 190 KB), draft (true = draft)
Example request
bash
curl -s -X POST "https://energyexporter.com/api/v1/ilanlar" \
-H "Authorization: Bearer $EE_API_KEY" -H "Content-Type: application/json" \
-d '{"type":"product","category_id":1,"title":"550 Wp Monokristal Güneş Paneli","title_en":"550 Wp Mono Solar Panel","brand":"Anadolu","specs":{"panel_gucu":550}}'
Example response
json
{
"data": {
"id": 15,
"type": "product",
"status": "active",
"category_id": 1,
"title": "550 Wp Monokristal Güneş Paneli",
"title_en": "550 Wp Mono Solar Panel",
"description": "…",
"description_en": "",
"brand": "Anadolu",
"model": "AS-550",
"min_order": "1 palet",
"price_note": "",
"specs": {
"panel_gucu": 550
},
"image_url": null,
"url": "https://energyexporter.com/tr/ilan/15",
"created_at": "2026-11-10T09:00:00.000Z"
}
}
GET/api/v1/ilanlar/{id}
One of your listings.
Example request
bash
curl -s "https://energyexporter.com/api/v1/ilanlar/15" -H "Authorization: Bearer $EE_API_KEY"
Example response
json
{
"data": {
"id": 15,
"type": "product",
"status": "active",
"category_id": 1,
"title": "550 Wp Monokristal Güneş Paneli",
"title_en": "550 Wp Mono Solar Panel",
"description": "…",
"description_en": "",
"brand": "Anadolu",
"model": "AS-550",
"min_order": "1 palet",
"price_note": "",
"specs": {
"panel_gucu": 550
},
"image_url": null,
"url": "https://energyexporter.com/tr/ilan/15",
"created_at": "2026-11-10T09:00:00.000Z"
}
}
PATCH/api/v1/ilanlar/{id}
Partial update: fields you don't send are kept; specs are merged with existing values (null = remove).
Body: type (product/service), category_id, title, title_en, description, description_en, brand, model, min_order, price_note, status (active/passive), specs, image_base64 (image, ≤ 190 KB), draft (true = draft)
Example request
bash
curl -s -X PATCH "https://energyexporter.com/api/v1/ilanlar/15" \
-H "Authorization: Bearer $EE_API_KEY" -H "Content-Type: application/json" \
-d '{"price_note":"FOB İzmir","status":"passive"}'
Example response
json
{
"data": {
"id": 15,
"type": "product",
"status": "passive",
"category_id": 1,
"title": "550 Wp Monokristal Güneş Paneli",
"title_en": "550 Wp Mono Solar Panel",
"description": "…",
"description_en": "",
"brand": "Anadolu",
"model": "AS-550",
"min_order": "1 palet",
"price_note": "FOB İzmir",
"specs": {
"panel_gucu": 550
},
"image_url": null,
"url": null,
"created_at": "2026-11-10T09:00:00.000Z"
}
}
GET/api/v1/kategoriler
Categories and category-specific fields (specs keys).
Example request
bash
curl -s "https://energyexporter.com/api/v1/kategoriler" -H "Authorization: Bearer $EE_API_KEY"
Example response
json
{
"data": [
{
"id": 1,
"slug": "gunes-enerjisi",
"name_tr": "Güneş Enerjisi",
"name_en": "Solar Energy",
"fields": [
{
"key": "panel_gucu",
"label_tr": "Panel gücü",
"label_en": "Panel power",
"type": "number",
"unit": "Wp",
"options": [],
"required": false,
"for_request": true,
"for_listing": true,
"for_offer": false
}
]
}
]
}