> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# cookies

Retrieves cookies for the current page's URL or specified URLs.
If no URLs are provided, cookies for the current page URL are returned.
If URLs are provided, only cookies for those specific URLs are returned.
Example: `cookies(urls: ["https://example.com", "https://another.com"])`

## Definition

```graphql theme={null}
cookies(
  urls: [String]
): [Cookie]
```

## Arguments

### `urls`

[\[String\]](/reference/graphql/scalars/string)

An optional list of URLs to retrieve cookies for.
If omitted, cookies for the current page's URL are returned.
Example: `["https://www.example.com", "https://sub.example.com"]`

## Returns

[\[Cookie\]](/reference/graphql/objects/cookie)

Represents a browser cookie.

## Usage

This field is available on the [Page](/reference/graphql/objects/page) object. Use it to query page information and content.
