# অ্যাসিঙ্ক্রোনাস ব্যাচ স্ক্র্যাপ জব জমা দিন।

**API:** Data API

**Endpoint:** `POST /v1/beta/firecrawl/batch-scrape`

**Tags:** Firecrawl

অ্যাসিঙ্ক্রোনাস ব্যাচ স্ক্র্যাপ জমা দিন। urls দিন; ঐচ্ছিকভাবে ডকুমেন্ট করা স্ক্র্যাপ অপশন। Idempotency-Key আবশ্যক। HTTP 202 একটি জব ফেরত দেয়; সংশ্লিষ্ট Felo পোলিং এন্ডপয়েন্টের সঙ্গে তার id ব্যবহার করুন যতক্ষণ না completed, failed বা cancelled হয়। জবের মূল্য ফিল্ড প্রোভাইডার অনুমোদন ও নিষ্পত্তি মেটাডেটা, Felo বিলিং রেকর্ড নয়।

### মূল্য রেফারেন্স

- মিটারিং: মিটার করা ফলাফলের রেফারেন্স
- রেফারেন্স রিকোয়েস্ট অনুমান পাওয়া যায় না।
- গ্রাহক ইউনিট রেফারেন্স মূল্য: USD 0.005

এটি কেবল রেফারেন্স মেটাডেটা; অ্যাকাউন্টের কোটেশন, নিশ্চিত মূল্য বা ব্যয়সীমা নয়। রিসোর্স ক্রেডিট Felo ক্রেডিট নয়। চূড়ান্ত চার্জ Felo-এর বিলিং রেকর্ড অনুযায়ী হয়।

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | yes | string | ট্রিম করা UTF-8 দৈর্ঘ্য 1 থেকে 191 বাইটের মধ্যে হতে হবে। |

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "additionalProperties": false,
  "properties": {
    "excludeTags": {
      "items": {
        "description": "ছাঁটার পর খালি নয়; CR/LF নেই; UTF-8 বাইট দৈর্ঘ্য সীমিত। সর্বোচ্চ UTF-8 দৈর্ঘ্য: 128 বাইট।",
        "pattern": "^[^\\r\\n]*\\S[^\\r\\n]*$(?![\\s\\S])",
        "type": "string"
      },
      "maxItems": 50,
      "type": [
        "array",
        "null"
      ]
    },
    "includeTags": {
      "items": {
        "description": "ছাঁটার পর খালি নয়; CR/LF নেই; UTF-8 বাইট দৈর্ঘ্য সীমিত। সর্বোচ্চ UTF-8 দৈর্ঘ্য: 128 বাইট।",
        "pattern": "^[^\\r\\n]*\\S[^\\r\\n]*$(?![\\s\\S])",
        "type": "string"
      },
      "maxItems": 50,
      "type": [
        "array",
        "null"
      ]
    },
    "maxAge": {
      "maximum": 31536000000,
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "maxConcurrency": {
      "maximum": 20,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "minAge": {
      "maximum": 31536000000,
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "onlyMainContent": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "timeout": {
      "maximum": 300000,
      "minimum": 1000,
      "type": [
        "integer",
        "null"
      ]
    },
    "urls": {
      "description": "হোয়াইটস্পেস ও শেষের স্ল্যাশ ছাঁটার পর URL-ও অনন্য হতে হবে।",
      "items": {
        "description": "হোস্টনেমসহ HTTPS URL, ক্রেডেনশিয়াল বা ফ্র্যাগমেন্ট ছাড়া। ছাঁটা ইনপুট যা .pdf-এ শেষ হয় (কেস-সংবেদনশীল নয়) সমর্থিত নয়।",
        "pattern": "^\\s*[hH][tT][tT][pP][sS]://",
        "type": "string"
      },
      "maxItems": 1000,
      "minItems": 1,
      "type": "array",
      "uniqueItems": true
    }
  },
  "required": [
    "urls"
  ],
  "type": "object"
}
```

Example:

```json
{
  "urls": [
    "https://example.com"
  ]
}
```

## Responses

### 202 — সফল

Headers:
- `X-Request-Id` (string) — Felo সাপোর্টে যোগাযোগের সময় অন্তর্ভুক্ত করার জন্য রিকোয়েস্ট আইডেন্টিফায়ার।

**application/json**

Schema: object

```json
{
  "properties": {
    "completedAt": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "endpoint": {
      "type": [
        "string",
        "null"
      ],
      "description": "প্রোভাইডার অপারেশন আইডেন্টিফায়ার; পোলিংয়ের জন্য ডকুমেন্টে উল্লিখিত Felo job পথ ব্যবহার করুন।"
    },
    "error": {
      "properties": {
        "code": {
          "type": [
            "string",
            "null"
          ]
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "object": {
      "const": "integration_async_job",
      "type": "string"
    },
    "output": {},
    "outputExpired": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "pricing": {
      "properties": {
        "authorizedMicrosUSD": {
          "type": [
            "integer",
            "null"
          ]
        },
        "billingMode": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "finalMicrosUSD": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ],
      "description": "micro-USD-তে প্রোভাইডার অনুমোদন ও নিষ্পত্তি মেটাডেটা; এটি Felo ব্যালেন্স, হোল্ড বা বিলিং রসিদ নয়।"
    },
    "status": {
      "enum": [
        "queued",
        "running",
        "completed",
        "failed",
        "cancelled"
      ],
      "type": "string"
    }
  },
  "required": [
    "completedAt",
    "createdAt",
    "endpoint",
    "error",
    "id",
    "object",
    "output",
    "pricing",
    "status"
  ],
  "type": "object"
}
```

### 400 — রিকোয়েস্ট প্রক্রিয়া করা যায়নি। রিকোয়েস্ট প্যারামিটার যাচাই করুন।

### 401 — একটি বৈধ Felo API key আবশ্যক।

### 402 — বিলিং শর্ত পূরণ না হওয়ায় রিকোয়েস্ট এগোতে পারছে না।

### 403 — অ্যাকাউন্টটিকে এই অপারেশন করার অনুমতি নেই।

### 429 — রিকোয়েস্ট বা ব্যয়ের সীমায় পৌঁছে গেছে।

### 502 — পরিষেবা রিকোয়েস্টটি সম্পন্ন করতে পারেনি।

### 503 — API বা বিলিং পরিষেবা সাময়িকভাবে অনুপলভ্য।

### 504 — রিকোয়েস্ট প্রক্রিয়াকরণের সময় পরিষেবার সময় শেষ হয়ে গেছে।

### default — অপারেশন ব্যর্থ হয়েছে। Felo সাপোর্টে যোগাযোগের সময় রেসপন্সের request ID রাখুন।
