Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Nick: reqs

Nicolascbb4aef1091b
diff --git a/apps/api/requests/v2/crawl.requests.http b/apps/api/requests/v2/crawl.requests.http
new file mode 100644
index 000000000..8ddc0cb3f
--- /dev/null
+++ b/apps/api/requests/v2/crawl.requests.http
@@ -0,0 +1,50 @@
+# Pick your baseUrl here:
+@baseUrl = http://localhost:3002
+# @baseUrl = https://api.firecrawl.dev
+
+
+### Crawl
+# @name crawl
+POST {{baseUrl}}/v2/crawl HTTP/1.1
+Authorization: Bearer {{$dotenv TEST_API_KEY}}
+content-type: application/json
+
+{
+ "url": "https://firecrawl.dev",
+ "prompt": "only get me the blog posts"
+}
+
+
+### Crawl Parameters Preview
+# @name crawlParamsPreview
+POST {{baseUrl}}/v2/crawl/params-preview HTTP/1.1
+Authorization: Bearer {{$dotenv TEST_API_KEY}}
+content-type: application/json
+
+{
+ "url": "https://firecrawl.dev",
+ "prompt": "only get me the blog and news posts"
+}
+
+# Expected response:
+# {
+# "success": true,
+# "data": {
+# "url": "https://firecrawl.dev",
+# "includes": ["blog", "news"],
+# "excludes": [],
+# "limit": 50,
+# "maxDepth": 2
+# }
+# }
+
+### Crawl with Generated Parameters
+# @name crawlWithParams
+POST {{baseUrl}}/v2/crawl HTTP/1.1
+Authorization: Bearer {{$dotenv TEST_API_KEY}}
+content-type: application/json
+
+{
+ "url": "https://firecrawl.dev",
+ "includes": ["blog", "news"]
+}
diff --git a/apps/api/requests/v2/map.requests.http b/apps/api/requests/v2/map.requests.http
new file mode 100644
index 000000000..bbd7820e6
--- /dev/null
+++ b/apps/api/requests/v2/map.requests.http
@@ -0,0 +1,29 @@
+# Pick your baseUrl here:
+@baseUrl = http://localhost:3002
+# @baseUrl = https://api.firecrawl.dev
+
+
+### Crawl
+# @name crawl
+POST {{baseUrl}}/v2/map HTTP/1.1
+Authorization: Bearer {{$dotenv TEST_API_KEY}}
+content-type: application/json
+
+{
+ "url": "https://firecrawl.dev",
+}
+
+# {
+# "web": [
+# {
+# "url": "https://firecrawl.dev",
+# "title": "Firecrawl",
+# "description": "Firecrawl is a platform for crawling and mapping websites."
+# },
+# {
+# "url": "https://firecrawl.dev/blog",
+# "title": "Firecrawl Blog",
+# "description": "Firecrawl Blog is a blog about Firecrawl."
+# }
+# ]
+# }
\ No newline at end of file
diff --git a/apps/api/requests/v2/scrape.requests.http b/apps/api/requests/v2/scrape.requests.http
new file mode 100644
index 000000000..d2d6eeffb
--- /dev/null
+++ b/apps/api/requests/v2/scrape.requests.http
@@ -0,0 +1,17 @@
+# Pick your baseUrl here:
+@baseUrl = http://localhost:3002
+# @baseUrl = https://api.firecrawl.dev
+
+
+### Crawl
+# @name crawl
+POST {{baseUrl}}/v1/scrape HTTP/1.1
+Authorization: Bearer {{$dotenv TEST_API_KEY}}
+content-type: application/json
+
+{
+ "url": "https://docs.firecrawl.dev",
+ "formats": ["markdown"]
+}
+
+
diff --git a/apps/api/requests/v2/search.requests.http b/apps/api/requests/v2/search.requests.http
new file mode 100644
index 000000000..c8f9f2acb
--- /dev/null
+++ b/apps/api/requests/v2/search.requests.http
@@ -0,0 +1,15 @@
+# Pick your baseUrl here:
+# @baseUrl = http://localhost:3002
+@baseUrl = https://api.firecrawl.dev
+
+
+### Search
+# @name search
+POST {{baseUrl}}/v1/search HTTP/1.1
+Authorization: Bearer {{$dotenv TEST_API_KEY}}
+content-type: application/json
+
+{
+ "query": "firecrawl",
+ "limit": 50
+}