{"uid":"cap_rzdAxBp88Kf0Smcj7uP7c","slug":"curl-http-request-e75cf535","name":"Curl HTTP Request","description":"Send an HTTP request to any URL from our servers and receive the full response — including the status code, all response headers, and the body content. Supports GET, POST, PUT, PATCH, DELETE, and HEAD. Automatically follows up to 3 redirects. Useful for testing endpoints, verifying servers are responding correctly, debugging redirect chains, or fetching raw data without needing a local setup.","url":"https://curl-http-request.underscoredone.com/curl","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"The full web address you want to send a request to. Must start with http:// or https://."},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string","description":"The type of request to make. Choose from GET, POST, PUT, PATCH, DELETE, or HEAD. Defaults to GET if not provided."}}},"responseSchema":{"type":"json","example":{"url":"https://httpbin.org/get","body":"{\n  \"args\": {}, \n  \"headers\": {\n    \"Host\": \"httpbin.org\"\n  }, \n  \"url\": \"https://httpbin.org/get\"\n}","error":"","method":"GET","headers":{"server":"gunicorn/19.9.0","content-type":"application/json","content-length":"307"},"durationMs":312,"statusCode":200,"api_version":"1.0.0","redirectChain":[]}},"example":{"request":{"url":"https://httpbin.org/get","method":"GET"},"response":{"url":"https://httpbin.org/get","body":"{\n  \"args\": {}, \n  \"headers\": {\n    \"Accept\": \"*/*\", \n    \"Accept-Encoding\": \"gzip, deflate\", \n    \"Host\": \"httpbin.org\", \n    \"User-Agent\": \"python-httpx/0.28.1\", \n    \"X-Amzn-Trace-Id\": \"Root=1-6a2b9577-4ddd2886492ff9410a238ea6\"\n  }, \n  \"origin\": \"152.55.180.125\", \n  \"url\": \"https://httpbin.org/get\"\n}\n","error":null,"method":"GET","headers":{"date":"Fri, 12 Jun 2026 05:13:28 GMT","server":"gunicorn/19.9.0","connection":"keep-alive","content-type":"application/json","content-length":"305","access-control-allow-origin":"*","access-control-allow-credentials":"true"},"durationMs":401,"statusCode":200,"api_version":"1.0.0","redirectChain":[]}},"exampleRequest":{"url":"https://httpbin.org/get","method":"GET"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.19","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XDvp-J3nvLPkH2dELTrX1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends an HTTP request (GET, POST, PUT, PATCH, DELETE, or HEAD) to any URL from remote servers and returns the full response including status code, headers, body, redirect chain, and duration.","exampleAgentPrompt":"Can you send a GET request to https://api.example.com/health and tell me the status code, response headers, and body that come back?","exampleUseCases":null,"resultDescription":"A JSON object containing the HTTP status code, response headers (as key-value pairs), the full response body as a string, the HTTP method used, the target URL, round-trip duration in milliseconds, any redirect chain followed (up to 3 hops), an error field if the request failed, and the API version.","failureModes":["Invalid or malformed URL returns an error in the error field","Target server is unreachable or times out, resulting in a non-200 status or error string","Redirect chain exceeds 3 hops and is truncated","Payment not fulfilled results in 402 response before the request is proxied","Target URL returns non-JSON body which is still captured as a raw string in body field"],"whenToPreferThis":"Use this endpoint when you need to make an arbitrary HTTP request to any URL from a neutral remote server without local tooling — especially for testing endpoint liveness, inspecting response headers, debugging redirect chains, or fetching raw response bodies. Prefer this over browser-based scrapers when you only need raw HTTP semantics rather than rendered HTML, and over local curl when you want a hosted, pay-per-call solution with structured JSON output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":17,"lastUsedAt":"2026-07-08T00:35:10.261Z","lastSuccessfullyRanAt":"2026-07-08T00:34:58.248Z","lastHealthCheckAt":"2026-09-14T12:39:09.777Z","isFirstParty":false}