Gemini Scraper
scraper.gemini extracts Gemini responses so you can archive Google AI outputs with structured citation metadata.
Request Example
curl 'https://api.scrapeless.com/api/v2/scraper/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token: {you_api_key}' \
--data '{
"actor": "scraper.gemini",
"input": {
"prompt": "Recommended attractions in New York",
"country": "US"
},
"webhook": {
"url": "http://www.youwebhook.com"
}
}'Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Prompt sent to Gemini. |
country | string | Yes | Country or region code. |
shopping | boolean | No | Whether to fetch shopping data. Defaults to false. When enabled, the response includes extra product information in the products field — the merchant offers behind each product cluster, such as direct store URL, price, installments, stock, delivery, and returns. |
Response Fields
Note: When
shoppingis enabled and the response returns this extra product information, the API call will be charged at 2x the base rate. This is due to the additional resource overhead required for extracting and processing product information from multiple sources.
| Parameter | Type | Description |
|---|---|---|
result_text | string | Markdown response. |
prompt | string | Original prompt. |
citations | array | Citation metadata. |
citations.favicon | string | Favicon URL. |
citations.highlights | array | Highlighted snippets from the source text. |
citations.snippet | string | Citation snippet. |
citations.title | string | Title of the cited page. |
citations.url | string | URL of the cited page. |
citations.website_name | string | Website name. |
related_queries | array | Array of fan-out queries. |
products | array | Product information returned by Google Gemini. |
products.thumbnails | array | Array of product thumbnail image URLs. |
products.title | string | Product title. |
products.url | string | Product page URL. |
products.brand | string | Product brand name. |
products.reviews | int | Number of reviews. |
products.rating | string | Average rating score. |
products.price_range | string | Price range, e.g., $2,499.99. |
products.stores | array | Array of store offers. |
products.stores.name | string | Store name. |
products.stores.link | string | Store product link. |
products.stores.title | string | Product title at the store. |
products.stores.ratings | string | Store rating, e.g., 4.3/5. |
products.stores.extensions | array | Additional info (stock, delivery, returns). |
products.stores.price | string | Store price. |
products.stores.delivery_fee | string | Delivery fee information. |
products.stores.total_price | string | Total price including fees. |
products.about_the_product | object | Detailed product information. |
products.about_the_product.title | string | Section title. |
products.about_the_product.link | string | Product page link. |
products.about_the_product.displayed_link | string | Displayed domain name. |
products.about_the_product.features | array | Product features/specifications. |
products.about_the_product.features.title | string | Feature name. |
products.about_the_product.features.value | string | Feature value. |
products.about_the_product.description | string | Product description. |
products.variants | array | Product variant options. |
products.variants.title | string | Variant category title. |
products.variants.items | array | Variant options list. |
products.variants.items.name | string | Variant option name. |
products.variants.items.selected | bool | Whether this variant is selected. |
products.variants.items.availability | bool | Variant availability status. |
products.ratings | array | Rating distribution data. |
products.ratings.stars | int | Star rating level (1-5). |
products.ratings.amount | int | Number of ratings at this level. |
products.user_reviews | array | User review data. |
products.user_reviews.text | string | Review text content. |
products.user_reviews.source | string | Review source platform. |
products.user_reviews.rating | int | User rating score. |
products.user_reviews.date | string | Review date. |
products.user_reviews.name | string | Reviewer name. |
products.user_reviews.title | string | Review title. |