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

# requestProductByURL

> Requests a product to be tracked by Rye's API. Products will be refreshed on some interval. A product must be requested before it can be queried.

### Arguments

<ParamField path="input" type="RequestProductByURLInput!" required>
  An object containing the product's URL.
</ParamField>

### Returns

<ParamField path="RequestProductResponse.productID" type="RequestProductResponse">
  The `productID` is the unique identifier for the requested product, which can be used in subsequent queries to fetch product information.
</ParamField>

## Usage

```ts theme={null}
import { RyeClient, Marketplace } from "@rye-api/rye-sdk";

const ryeClient = new RyeClient({
  authHeader: "<AUTH_HEADER>",
  shopperIp: "<SHOPPER_IP>",
});

const result = await ryeClient.requestProductByUrl({
  input: {
    url: "https://www.amazon.com/dp/B00A2KD8NY",
    marketplace: Marketplace.Amazon,
  },
});
```
