# Market

Your Algrow Market orders, deliveries and verification codes. Read-only.

Your Algrow Market orders — YouTube accounts and phone numbers — and the verification codes their numbers receive. Read-only: these tools never buy, renew or spend. The one write is your own note on an order.

### `list_market_orders`

List the user's market orders, newest first, with the phone numbers each delivered (live_until, days_left, expired for rented numbers), the user's note, and the order page URL. Login details are not on the list — call get_market_order for one order. No parameters required.

**Example prompts**

"Show me my market orders"

"Which of my accounts still have a live phone number?"

### `get_market_order`

One order with its delivery: the login lines as the order page shows them (email, password, recovery, 2FA link), the numbers on it, and the user's note. Verification codes are not in the delivery — use get_market_code.

**Example prompts**

"Give me the login for order 1220"

"Open my cooking channel account"

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| order_id | integer | required | The order number, from list_market_orders or the user's order page. |

### `get_market_code`

The latest SMS verification code on an order's phone number, read live from the provider. Returns phone, code, status (waiting / received / expired), expiry and received_at. Texts from before the order was delivered are never returned. Poll every few seconds while the user verifies — more than about 40 reads a minute on one number is throttled.

**Example prompts**

"What's the verification code on order 2137?"

"Google just sent a code to my new account's number, read it"

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| order_id | integer | required | The order whose number should be read. |
| index | integer | 0 | Which number on the order, 0-based, from the order's numbers list. Most orders have one. |

### Use Case Recipes

#### Phone-verify a freshly bought account

1. Call `get_market_order` to get the login and the number on it.

2. Sign in and start verification at youtube.com/verify with that number.

3. Call `get_market_code` every few seconds until `status` is `received`, then enter the code.

### `set_market_order_note`

Set or clear the user's own note on an order — which channel it's used for. Shown on their order list and order page; only they see it. Up to 120 characters; null or empty clears it.

**Example prompt**

"Label order 2137 as my cooking channel"

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| order_id | integer | required | The order to label. |
| note | string | required | The label, up to 120 characters. Null or empty clears it. |

### `get_market_stock`

Every Algrow Market product with how many are in stock right now: name, price, the exact count, `band` (`ok`, `low` at 3 or fewer, `out` when sold out) and the product page URL. A product is restocked when its stock goes from 0 to above 0 between two reads. No parameters required.

**Example prompts**

"Is 2K Impressions in stock on the market?"

"Which market accounts can I buy right now?"
