> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.getoutprice.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.getoutprice.com/_mcp/server.

# This Is Mine

POST https://getoutprice.com/v1/my-shop/mine
Content-Type: application/json

The seller pointed at a search result and said "this is mine".

Two things follow. The name they trade under is remembered, so their
listings are recognised (and left out of the market figures) in every later
search. And any competitor of this product they already track is compared
against this listing from now on, read live rather than typed.

Reference: https://docs.getoutprice.com/api-reference/my-shop/this-is-mine

## Authentication

- `X-API-Key` header (required) — Your Outprice API key (starts with pw_).

## Request

### Body (application/json)

This endpoint expects a MineIn.

- `url` (string, required)
- `marketplace` (string, required)
- `seller_id` (string, optional, nullable)
- `seller_name` (string, optional, nullable)
- `group_urls` (list of string, optional)

## Response

### 200

Successful Response

- `shop` (ShopOut, required)
- `linked` (integer, required)
- `tracking_own` (boolean, optional, default: false)

## Errors

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### ShopOut

- `id` (integer, required)
- `kind` (string, required)
- `name` (string, required)
- `host` (string, optional, nullable)
- `marketplace` (string, optional, nullable)
- `product_count` (integer, optional, default: 0)
- `currency` (string, optional, nullable)
- `read_at` (string, optional, nullable)
- `last_error` (string, optional, nullable)

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (ValidationErrorCtx, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Request**

```json
{
  "url": "string",
  "marketplace": "string"
}
```

**Response**

```json
{
  "shop": {
    "id": 1,
    "kind": "string",
    "name": "string",
    "host": "string",
    "marketplace": "string",
    "product_count": 0,
    "currency": "string",
    "read_at": "string",
    "last_error": "string"
  },
  "linked": 1,
  "tracking_own": false
}
```

**SDK Code**

```python
import requests

url = "https://getoutprice.com/v1/my-shop/mine"

payload = {
    "url": "string",
    "marketplace": "string"
}
headers = {
    "X-API-Key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://getoutprice.com/v1/my-shop/mine';
const options = {
  method: 'POST',
  headers: {'X-API-Key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"url":"string","marketplace":"string"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://getoutprice.com/v1/my-shop/mine"

	payload := strings.NewReader("{\n  \"url\": \"string\",\n  \"marketplace\": \"string\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-API-Key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://getoutprice.com/v1/my-shop/mine")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"url\": \"string\",\n  \"marketplace\": \"string\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://getoutprice.com/v1/my-shop/mine")
  .header("X-API-Key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"url\": \"string\",\n  \"marketplace\": \"string\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://getoutprice.com/v1/my-shop/mine', [
  'body' => '{
  "url": "string",
  "marketplace": "string"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://getoutprice.com/v1/my-shop/mine");
var request = new RestRequest(Method.POST);
request.AddHeader("X-API-Key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"url\": \"string\",\n  \"marketplace\": \"string\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-API-Key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "url": "string",
  "marketplace": "string"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://getoutprice.com/v1/my-shop/mine")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```