Firecrawl
Search, scrape, map, file parsing and asynchronous crawling.
שליחת משימת זחילה אסינכרונית.
שולח זחילת אתר אסינכרונית. ספקו url ו-limit; ובאופן אופציונלי את אפשרויות הזחילה והגריפה המתועדות. Idempotency-Key חובה. HTTP 202 מחזיר משימה; השתמשו ב-id שלה עם נקודת הקצה המתאימה לבדיקת מצב ב-Felo עד שהיא completed, failed או cancelled. שדות התמחור של המשימה הם הרשאת ספק ומטא-נתוני סילוק, ולא רשומות חיוב של Felo.
מראה תמחור
- מדידה: ייחוס לפי תוצאות נמדדות.
- אומדן בקשת ייחוס: אינו זמין.
- מחיר יחידת ייחוס ללקוח: 0.005 דולר ארה״ב.
זהו מטא-נתון לעיון בלבד, לא הצעת מחיר לחשבון, לא מחיר מובטח ולא תקרת הוצאה. קרדיטי משאבים אינם קרדיטים של Felo. החיוב הסופי נעשה לפי רשומות החיוב של Felo.
- סוג: stringIdempotency
- Key חובהאורך UTF-8 לאחר קיצוץ חייב להיות בין 1 ל-191 בייטים.
- סוג: integerlimitמינימום:1מקסימום:1000חובה
Integer numbers.
- סוג: stringurlחובה
כתובת URL מסוג HTTPS עם שם מארח, ללא פרטי התחברות או fragment. קלט מקוצץ שמסתיים ב-.pdf (ללא תלות ברישיות) אינו נתמך.
- סוג: boolean | nullallow
External Links - סוג: boolean | nullallow
Subdomains - סוג: boolean | nullcrawl
Entire Domain - סוג: number | nulldelayמינימום:0מקסימום:30
- סוג: array string[] | null …20exclude
Paths - סוג: boolean | nullignore
Query Parameters - סוג: array string[] | null …20include
Paths - סוג: integer | nullmax
Concurrency מינימום:1מקסימום:20Integer numbers.
- סוג: integer | nullmax
Discovery Depth מינימום:0מקסימום:10Integer numbers.
- סוג: object | nullscrape
Options - excludeסוג: array string[] | null …50
Tags - includeסוג: array string[] | null …50
Tags - maxסוג: integer | null
Age מינימום:0מקסימום:31536000000Integer numbers.
- minסוג: integer | null
Age מינימום:0מקסימום:31536000000Integer numbers.
- onlyסוג: boolean | null
Main Content - timeoutסוג: integer | nullמינימום:1000מקסימום:300000
Integer numbers.
- סוג: string | null enumsitemapערכים
- null
- skip
- include
- only
- סוג: object202
הצלחה
- סוג: string | null פורמט: date-timecompleted
At חובהthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- סוג: string | null פורמט: date-timecreated
At חובהthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- סוג: string | nullendpointחובה
מזהה פעולת ספק; השתמשו בנתיב המשימה המתועד של Felo לסקירה.
- סוג: object | nullerrorחובה
- codeסוג: string | null
- messageסוג: string | null
- סוג: string | nullidחובה
- objectconst:integration_async_jobחובה
- outputחובה
- סוג: object | nullpricingחובה
מטא-נתוני הרשאה והסדר של הספק במיקרו-דולר; אינם יתרת Felo, החזקה או קבלת חיוב.
- authorizedסוג: integer | null
Micros U S D Integer numbers.
- billingסוג: string | null
Mode - currencyסוג: string | null
- finalסוג: integer | null
Micros U S D Integer numbers.
- סוג: string enumstatusחובהערכים
- queued
- running
- completed
- failed
- cancelled
- סוג: boolean | nulloutput
Expired
application/json - 400
לא ניתן היה לעבד את הבקשה. בדקו את פרמטרי הבקשה.
- 401
נדרש מפתח API תקף של Felo.
- 402
לא ניתן להמשיך את הבקשה משום שדרישת חיוב אינה מתקיימת.
- 403
החשבון אינו מורשה לבצע את הפעולה הזו.
- 429
הגעתם למגבלת בקשות או לתקרת הוצאה.
- 502
השירות לא הצליח להשלים את הבקשה.
- 503
שירות ה-API או החיוב אינו זמין באופן זמני.
- 504
השירות פג בזמן הטיפול בבקשה.
- default
הפעולה נכשלה. שמרו את מזהה הבקשה של התגובה בעת יצירת קשר עם תמיכת Felo.
curl https://openapi.felo.ai/v1/beta/firecrawl/crawl \
--request POST \
--header 'Idempotency-Key: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"url": "https://example.com",
"limit": 1
}'
{
"completedAt": null,
"createdAt": null,
"endpoint": null,
"error": {
"code": null,
"message": null
},
"id": null,
"object": "integration_async_job",
"output": null,
"outputExpired": null,
"pricing": {
"authorizedMicrosUSD": null,
"billingMode": null,
"currency": null,
"finalMicrosUSD": null
},
"status": "queued"
}