> For the complete documentation index, see [llms.txt](https://developer.parvenu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.parvenu.io/enrichments/scrape-website-with-ai/individual-lookup.md).

# Individual Lookup

Read one website and answer a prompt from its contents. Synchronous, but slow.

<mark style="color:green;">`POST`</mark> `/scrape_website_with_ai`

{% hint style="info" %}
Costs **1 credit**, charged only when the model returns text. Returns the answer directly in the response, no list and no polling.
{% endhint %}

{% hint style="warning" %}
**Slow**, roughly 25 seconds on a live site, and unbounded on an unreachable domain. Set a generous client-side timeout rather than retrying quickly, a fresh retry starts an entirely new read of the page.
{% endhint %}

Pass a website URL and a question. The response contains the answer in `data.scrapewebsite_with_ai`.

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

| Name          | Type   | Description                                      |
| ------------- | ------ | ------------------------------------------------ |
| `api_key`     | string | Your API Key.                                    |
| `website_url` | string | Website to read.                                 |
| `prompt`      | string | Question to answer from that website's contents. |

**Example**

{% tabs %}
{% tab title="Input" %}

```json
{
  "api_key": "your_api_key",
  "website_url": "https://www.anthropic.com",
  "prompt": "What products does this company offer? Answer in one sentence."
}
```

{% endtab %}

{% tab title="Output" %}

```json
{
  "status": "success",
  "data": {
    "website_url": "https://www.anthropic.com",
    "scrapewebsite_with_ai": "Anthropic offers a range of AI products, including the Claude family of AI models such as Claude and Claude Code, along with solutions for sectors like cybersecurity, healthcare, and education."
  },
  "credits_used": 1,
  "credits_remaining": 4823,
  "success": true
}
```

{% endtab %}

{% tab title="No answer" %}

```json
{
  "status": "not_found",
  "data": {
    "website_url": "https://www.anthropic.com",
    "scrapewebsite_with_ai": null
  },
  "credits_used": 0,
  "credits_remaining": 4823,
  "success": true
}
```

{% endtab %}

{% tab title="Error" %}

```json
{
  "status": "error",
  "error": {
    "code": "validation_error",
    "message": "website_url: Field required"
  },
  "success": false
}
```

{% endtab %}
{% endtabs %}

**Response**

| Field                   | Type   | Description                                                               |
| ----------------------- | ------ | ------------------------------------------------------------------------- |
| `website_url`           | string | The site that was read.                                                   |
| `scrapewebsite_with_ai` | string | The model's answer. Same name as the list column this endpoint writes to. |

The record is under `data`. See [Response Format](/getting-started/response-format.md) for the fields every endpoint returns.

To run a prompt template against every row of a list in one call instead, use [List Lookup](/enrichments/scrape-website-with-ai/list-lookup.md).
