Get a MyMarket.az listing
get_listingUse this when the user wants the details of one MyMarket.az listing: from a post number returned by search_listings or a mymarket.az/elan/ link the user shares. Returns the title, price, description (up to about 1,500 characters), category, listed details such as brand, size or condition, delivery, credit and barter options, city, up to 8 photo links, whether the seller is a store (with the store's name and page) or a private seller, and the listing link. Phone numbers, emails and private sellers' names are not returned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listing": "<listing>"
},
"name": "get_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listing | Yes | The listing's post number (for example 1234567) or its link, for example https://mymarket.az/elan/iphone-13-128gb-1234567. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public listing page, where the user can see the seller's contact options. | |
| city | Yes | ||
| price | Yes | Price in AZN; null when there is none. | |
| title | Yes | ||
| photos | Yes | Up to 8 photo links. | |
| seller | Yes | ||
| post_no | Yes | ||
| category | Yes | ||
| currency | Yes | ||
| features | Yes | Whether the seller offers delivery, barter (exchange) or credit. | |
| old_price | Yes | Price before the discount, only when the listing is discounted. | |
| attributes | Yes | Details the seller picked on the site, in Azerbaijani, for example Marka: Apple. | |
| created_on | Yes | Date the listing was created, YYYY-MM-DD. | |
| price_note | Yes | Why there is no price, for example a salary agreed at the interview. | |
| description | Yes | The seller's text, with phone numbers, emails and messenger links masked. | |
| photo_count | Yes | ||
| how_to_contact | Yes | ||
| discount_percent | Yes | ||
| description_truncated | Yes |