# StockX Login

If you are getting the error "Forbidden" while setting up your StockX account, follow the instructions below. This is the only way to be logged in to StockX indefinitely.

We will log in to StockX using the cookie value of their security. If you don't know how to get the value of a cookie, you can download a cookie extension to export it; the link is [here](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm).

1. Go to [https://stockx.com/](https://stockx.com) and reload the page. While on the StockX website, open the extension and search for "\_px3". If you can't find "\_px3", try logging into the bot more frequently and refresh the StockX website. Repeat this process until you encounter a captcha. After solving the captcha, you should be able to find "\_px3" in the extension. You can also browse for different products which may make it appear.

<figure><img src="/files/udNZ9ZdXZej23lDsOwH4" alt="" width="422"><figcaption><p>Copy the _px3 cookie value.</p></figcaption></figure>

2. After copying the value, paste it into the tool and hit log in.

<figure><img src="/files/tXVraDCFHW9jgYwvGtXX" alt=""><figcaption></figcaption></figure>

The account should have logged in, if it didn't, repeat the process. If you are stuck, feel free to contact us and we will help during the process.

{% hint style="warning" %}
You cannot log in if you have 2FA. Also, do not change your password; otherwise, you will need to redo this process.
{% endhint %}

### Additional Steps

If you don't have access to the public StockX API yet, make sure to ask. Otherwise, you will miss out on several features and may run into problems. Find out how to do this [here](/problem-solving/tutorials/how-i-can-get-access-to-the-public-stockx-api.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.restock.gg/problem-solving/tutorials/stockx-login.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
