ScrapeGraphAI integration (AI, Data, Developer Tools). Imported from open-connector.
https://v2-api.scrapegraphai.com/api/scrape
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | required | The public URL to fetch. |
| formats | array | required | The output formats to return from ScrapeGraphAI. |
| contentType | string | optional | The content type override, such as text/html or application/pdf. |
| fetchConfig | object | optional | Fetch-time options used when ScrapeGraphAI retrieves a page. |
/api/extract
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | optional | The public URL to extract from. |
| html | string | optional | Raw HTML content to extract from. |
| markdown | string | optional | Markdown content to extract from. |
| prompt | string | required | The natural-language description of what to extract. |
| schema | object | optional | A loose JSON object. |
| mode | string | optional | The HTML pre-processing mode. |
| fetchConfig | object | optional | Fetch-time options used when ScrapeGraphAI retrieves a page. |
/api/search
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | required | The search query. |
| numResults | integer | optional | The number of search results to return and fetch. |
| prompt | string | optional | The optional extraction prompt to apply across the fetched search results. |
| schema | object | optional | A loose JSON object. |
| format | string | optional | The inline content format for each search result. |
| timeRange | string | optional | The recency filter for search results. |
| locationGeoCode | string | optional | The ISO 3166-1 alpha-2 country code used to localize search results. |
| fetchConfig | object | optional | Fetch-time options used when ScrapeGraphAI retrieves a page. |
/api/history
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The 1-indexed history page number to fetch. |
| limit | integer | optional | The number of history entries to return per page. |
| service | string | optional | The ScrapeGraphAI service type to filter by. |
/api/history/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | The UUID of the ScrapeGraphAI history entry to retrieve. |
/api/credits