HAR Import & Export
APXY supports the HAR 1.2 specification for exchanging traffic data with other tools. Export your captured traffic to share with teammates or import HAR files from browser DevTools, Charles Proxy, or other tools for analysis in APXY.
Export
CLI
apxy logs export-har writes HAR 1.2 JSON to stdout. Full options are in CLI Reference → Traffic.
Quick example:
apxy logs export-har > recording.harWeb API
GET /traffic/export/harReturns a HAR JSON file as an attachment download.
Import
CLI
apxy logs import-har loads a HAR file into a har_import session. See CLI Reference → Traffic.
Quick example:
apxy logs import-har --file ./recording.harImported traffic is stored under a har_import session for easy identification.
Web API
POST /traffic/import/harAccepts the HAR file as multipart form data or raw JSON body. Maximum file size: 50 MB.
Imported entries are tagged with a har_import session.
Use Cases
Share a bug reproduction
Export the traffic that demonstrates a bug and attach the HAR to a ticket.
Analyze browser recordings
Record traffic in Chrome DevTools (Network tab → Export HAR), import into APXY, then use SQL Queries or the Traffic viewer for deeper analysis.
Migrate from another proxy tool
Export a HAR from Charles Proxy, Fiddler, or mitmproxy and import it into APXY with apxy logs import-har.
See also: Export & Replay for cURL/fetch/httpie export formats.