Convert a HAR (HTTP Archive) file into curl commands, one per recorded request, and return them as a script plus a per-request list. Each command carries the method, URL, request headers (pseudo-headers, Host, Connection, and Content-Length are skipped), optional cookies, and the request body. Output uses short flags by default; long_form switches to --request, --header, --cookie, --data.
This page documents the HTTP endpoint POST /api/tools/har-to-curl/execute. See the MCP reference →
Call it over REST
POST https://api.findutils.com/api/tools/har-to-curl/execute · no API keys · 60 requests/min per IP
Execute — verified arguments
curl -X POST https://api.findutils.com/api/tools/har-to-curl/execute \
-H "Content-Type: application/json" \
-d '{
"har": "{\"log\":{\"entries\":[{\"request\":{\"method\":\"GET\",\"url\":\"https://api.example.com/users\",\"headers\":[{\"name\":\"Accept\",\"value\":\"application/json\"}]}}]}}"
}' Parameter schema for this endpoint
curl https://api.findutils.com/api/tools/har-to-curl Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| har | string | yes | HAR 1.x JSON text as exported by browser DevTools (an object with log.entries). |
| include_headers | boolean | no | Emit -H for each request header. Default: true. Default: true. |
| include_cookies | boolean | no | Emit -b with the request cookies. Default: false. Default: false. |
| long_form | boolean | no | Use long flags (--request, --header, --cookie, --data). Default: false. Default: false. |
Example arguments (verified)
{
"har": {
"log": {
"entries": [
{
"request": {
"method": "GET",
"url": "https://api.example.com/users",
"headers": [
{
"name": "Accept",
"value": "application/json"
}
]
}
}
]
}
}
} Arguments that carry JSON as a string are shown decoded for readability. The Copy button copies the exact wire arguments.
Also an MCP tool
Claude, Cursor, and any MCP client can call this tool as
findutils:har_to_curl after one connect command.
Connect once
claude mcp add findutils --transport http https://mcp.findutils.com/ More Network tools
Cidr Calculate
Compute network / broadcast / first-last host / subnet mask / hosts count for a CIDR (e.g.
Cookie Analyzer
Analyze Set-Cookie header strings and return a per-cookie list of security issues, an overall 0-100 score, and recommendations.
Curl To Code
Returns source code that performs the same HTTP request as a cURL command, in JavaScript (fetch), Python (requests), PHP (cURL), Go (net/htt
Dns Lookup
Return the DNS records of a domain for one record type (A, AAAA, CNAME, MX, TXT, NS or SOA).
Dns Security Scanner
Return a DNS security report for a domain: SPF, DMARC, MX and CAA records with issues, a 0-100 score, a letter grade and recommendations.
Email Security Checker
Return an email-security report for the domain of an email address: MX, SPF, DKIM (common selectors), DMARC, MTA-STS, TLS-RPT and BIMI check
Har Viewer
Parse HAR 1.x JSON and return each entry’s method, URL, status, size, time, and MIME type.
Http Status Code Lookup
Return the meaning, typical use case and fix for HTTP status codes.