--- title: "CookieStore.Get - Web Scraping API - Mozenda" slug: "cookiestoreget" description: "If you need to return a list of all cookies that belong to a specified cookie store, use CookieStore.Get. Utilize cookies for web scraping projects that require CAPTCHAs or two-factor authentication. " updated: 2024-05-14T14:25:32Z published: 2024-05-14T14:25:32Z canonical: "help.mozenda.com/cookiestoreget" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # CookieStore.Get ### Description Returns a list of the **cookies** that belong to the specified **cookie store**. ### URL parameters URL parameter ordering The **URL parameters** below are listed in the order they should be entered in the API **URL**. | Name | Required | Type | Description | | --- | --- | --- | --- | | `CookieStoreID` | False* | numeric | Unique identifier of the **cookie store**. | | `CookieStoreName` | False | string | The name of the **cookie store**. | * Either `CookieStoreID` or `CookieStoreName` is required. ### Responses | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | | `CookieStoreID` | numeric | Unique identifier of the **cookie store**. | | `Name` | string | The **cookie store** name. | | `Description` | string | The description of the **cookie store**. | | `Cookies` | [Cookies](https://help.mozenda.com/docs/api-response-objects/#cookies) | | ### Sample request ``` curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=CookieStore.Get&CookieStoreID=1002' ``` ### Sample responses #### XML ``` Success 1002 HomeDepot Cart Cart with One Item 1288 1004 THD_CART_HASH 27ae3de .homedepot.com 2019-05-29 15:58:51 2019-04-29 10:00:44 0 0 /mycart 0 1350 1004 __CT_Data .homedepot.com 2019-05-14 15:59:29 2019-04-29 10:00:44 0 0 / 0 ``` #### JSON (add `&ResponseFormat=JSON`) ``` { "CookieStoreID": 1002, "Name": "CMSLogin", "Description": "", "Cookies": [ { "ItemID": 1013, "CookieStoreID": 1002, "Settings": "", "Name": "SetByAPI", "Value": "I set this value", "Domain": "mozenda.com", "Expires": "2021-04-27 22:47:04", "TimeStamp": "", "HttpOnly": "0", "Secure": "0", "Path": "", "Version": "0", "Comment": "", "CommentUri": "", "Port": "" } ], "JsonResult": { "Command": "CookieStore.Get", "AutoLoggedIn": false, "WebConsoleKey": "", "Result": "Success", "ErrorCode": "", "ErrorDescription": "", "ErrorList": [], "ExecutionTime": { "Ticks": 0, "Days": 0, "Hours": 0, "Milliseconds": 0, "Minutes": 0, "Seconds": 0, "TotalDays": 0, "TotalHours": 0, "TotalMilliseconds": 0, "TotalMinutes": 0, "TotalSeconds": 0 } } } ```