List price captures by EAN or insert a new capture.
HTTP: GET | POST /external-data/priceean
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | Maximum number of rows per page (default 200). | 100 |
| page | integer | no | 1-indexed page when using limit. | 1 |
| offset | integer | no | Explicit offset. Overrides page when supplied. | 0 |
| search | string | no | Free-text search across domain, URL, EAN, and partner ID. | parfem |
| domain | string | no | Filter captures for a specific domain. | example-shop.cz |
| tag | string | no | Filter by tag value. | retail |
| ean | string | no | Filter by exact EAN. | 8592331234567 |
| instock | string | no | Availability flag captured from the source (required for POST/PUT). | in_stock |
| partnerid | string | no | Upstream partner identifier (required for POST/PUT). | SKU-123 |
| sort | string | no | Sort column (datum, recrawled, domain, tag, ean, price, price_full, confidence, instock). | datum |
| direction | string | no | Sort direction asc or desc. | desc |
| datum | string | no | Timestamp for the primary capture (auto-filled when omitted). | 2025-09-26 10:30:00 |
| recrawled | string | no | Timestamp of the latest recrawl (auto-filled when omitted). | 2025-09-26 11:00:00 |
| domainbase | string | no | Normalized domain base for grouping results. | example-shop.cz |
| confidence | number | no | Match confidence between 0 and 1 (required for POST/PUT). | 0.97 |
| price | number | no | Detected price (required for POST/PUT). | 249.9 |
| price_full | number | no | Detected full price before discounts (required for POST/PUT). | 279.9 |
| cur | string | no | ISO currency code (required for POST/PUT). | CZK |
| url | string | no | Origin URL of the capture (required for POST/PUT). | https://example-shop.cz/product/123 |
curl -H "Authorization: ApiKey YOUR_API_KEY" "https://admin.elpricing.com/api/external-data/priceean?limit=50&domain=example-shop.cz&tag=retail"
Tasks are persisted to var/api_queue/tasks.json. Process them with:
php go.php cron:list\nphp go.php cron:go
Logs are written to var/api_queue/logs/{task_id}.log.