Create a watch
curl --request POST \
--url https://api.nephia.cc/v1/vinted/watches \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"criteria": {
"market": "fr",
"query": "<string>",
"price_min": 123,
"price_max": 123,
"sort": "<string>",
"page": 123,
"per_page": 95,
"brand_ids": "<string>",
"size_ids": "<string>",
"catalog_ids": "<string>",
"color_ids": "<string>",
"status_ids": "<string>"
},
"refresh_interval_seconds": 1807.5,
"webhook_url": "<string>",
"market": "fr"
}
'import requests
url = "https://api.nephia.cc/v1/vinted/watches"
payload = {
"criteria": {
"market": "fr",
"query": "<string>",
"price_min": 123,
"price_max": 123,
"sort": "<string>",
"page": 123,
"per_page": 95,
"brand_ids": "<string>",
"size_ids": "<string>",
"catalog_ids": "<string>",
"color_ids": "<string>",
"status_ids": "<string>"
},
"refresh_interval_seconds": 1807.5,
"webhook_url": "<string>",
"market": "fr"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
criteria: {
market: 'fr',
query: '<string>',
price_min: 123,
price_max: 123,
sort: '<string>',
page: 123,
per_page: 95,
brand_ids: '<string>',
size_ids: '<string>',
catalog_ids: '<string>',
color_ids: '<string>',
status_ids: '<string>'
},
refresh_interval_seconds: 1807.5,
webhook_url: '<string>',
market: 'fr'
})
};
fetch('https://api.nephia.cc/v1/vinted/watches', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nephia.cc/v1/vinted/watches",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'criteria' => [
'market' => 'fr',
'query' => '<string>',
'price_min' => 123,
'price_max' => 123,
'sort' => '<string>',
'page' => 123,
'per_page' => 95,
'brand_ids' => '<string>',
'size_ids' => '<string>',
'catalog_ids' => '<string>',
'color_ids' => '<string>',
'status_ids' => '<string>'
],
'refresh_interval_seconds' => 1807.5,
'webhook_url' => '<string>',
'market' => 'fr'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nephia.cc/v1/vinted/watches"
payload := strings.NewReader("{\n \"criteria\": {\n \"market\": \"fr\",\n \"query\": \"<string>\",\n \"price_min\": 123,\n \"price_max\": 123,\n \"sort\": \"<string>\",\n \"page\": 123,\n \"per_page\": 95,\n \"brand_ids\": \"<string>\",\n \"size_ids\": \"<string>\",\n \"catalog_ids\": \"<string>\",\n \"color_ids\": \"<string>\",\n \"status_ids\": \"<string>\"\n },\n \"refresh_interval_seconds\": 1807.5,\n \"webhook_url\": \"<string>\",\n \"market\": \"fr\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nephia.cc/v1/vinted/watches")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"criteria\": {\n \"market\": \"fr\",\n \"query\": \"<string>\",\n \"price_min\": 123,\n \"price_max\": 123,\n \"sort\": \"<string>\",\n \"page\": 123,\n \"per_page\": 95,\n \"brand_ids\": \"<string>\",\n \"size_ids\": \"<string>\",\n \"catalog_ids\": \"<string>\",\n \"color_ids\": \"<string>\",\n \"status_ids\": \"<string>\"\n },\n \"refresh_interval_seconds\": 1807.5,\n \"webhook_url\": \"<string>\",\n \"market\": \"fr\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nephia.cc/v1/vinted/watches")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"criteria\": {\n \"market\": \"fr\",\n \"query\": \"<string>\",\n \"price_min\": 123,\n \"price_max\": 123,\n \"sort\": \"<string>\",\n \"page\": 123,\n \"per_page\": 95,\n \"brand_ids\": \"<string>\",\n \"size_ids\": \"<string>\",\n \"catalog_ids\": \"<string>\",\n \"color_ids\": \"<string>\",\n \"status_ids\": \"<string>\"\n },\n \"refresh_interval_seconds\": 1807.5,\n \"webhook_url\": \"<string>\",\n \"market\": \"fr\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"accountId": "<string>",
"market": "<string>",
"criteria": {
"market": "<string>",
"query": "<string>",
"priceMin": 123,
"priceMax": 123,
"sort": "<string>",
"page": 123,
"perPage": 123,
"filters": {}
},
"criteriaHash": "<string>",
"refreshIntervalSeconds": 123,
"webhookUrl": "<string>",
"isActive": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"pausedReason": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "Rate limit exceeded",
"code": "TOO_MANY_REQUESTS"
}Watches
Create a watch
Subscribe to listing changes matching search criteria. Webhook delivery and billing are documented separately.
POST
/
v1
/
vinted
/
watches
Create a watch
curl --request POST \
--url https://api.nephia.cc/v1/vinted/watches \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"criteria": {
"market": "fr",
"query": "<string>",
"price_min": 123,
"price_max": 123,
"sort": "<string>",
"page": 123,
"per_page": 95,
"brand_ids": "<string>",
"size_ids": "<string>",
"catalog_ids": "<string>",
"color_ids": "<string>",
"status_ids": "<string>"
},
"refresh_interval_seconds": 1807.5,
"webhook_url": "<string>",
"market": "fr"
}
'import requests
url = "https://api.nephia.cc/v1/vinted/watches"
payload = {
"criteria": {
"market": "fr",
"query": "<string>",
"price_min": 123,
"price_max": 123,
"sort": "<string>",
"page": 123,
"per_page": 95,
"brand_ids": "<string>",
"size_ids": "<string>",
"catalog_ids": "<string>",
"color_ids": "<string>",
"status_ids": "<string>"
},
"refresh_interval_seconds": 1807.5,
"webhook_url": "<string>",
"market": "fr"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
criteria: {
market: 'fr',
query: '<string>',
price_min: 123,
price_max: 123,
sort: '<string>',
page: 123,
per_page: 95,
brand_ids: '<string>',
size_ids: '<string>',
catalog_ids: '<string>',
color_ids: '<string>',
status_ids: '<string>'
},
refresh_interval_seconds: 1807.5,
webhook_url: '<string>',
market: 'fr'
})
};
fetch('https://api.nephia.cc/v1/vinted/watches', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nephia.cc/v1/vinted/watches",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'criteria' => [
'market' => 'fr',
'query' => '<string>',
'price_min' => 123,
'price_max' => 123,
'sort' => '<string>',
'page' => 123,
'per_page' => 95,
'brand_ids' => '<string>',
'size_ids' => '<string>',
'catalog_ids' => '<string>',
'color_ids' => '<string>',
'status_ids' => '<string>'
],
'refresh_interval_seconds' => 1807.5,
'webhook_url' => '<string>',
'market' => 'fr'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nephia.cc/v1/vinted/watches"
payload := strings.NewReader("{\n \"criteria\": {\n \"market\": \"fr\",\n \"query\": \"<string>\",\n \"price_min\": 123,\n \"price_max\": 123,\n \"sort\": \"<string>\",\n \"page\": 123,\n \"per_page\": 95,\n \"brand_ids\": \"<string>\",\n \"size_ids\": \"<string>\",\n \"catalog_ids\": \"<string>\",\n \"color_ids\": \"<string>\",\n \"status_ids\": \"<string>\"\n },\n \"refresh_interval_seconds\": 1807.5,\n \"webhook_url\": \"<string>\",\n \"market\": \"fr\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nephia.cc/v1/vinted/watches")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"criteria\": {\n \"market\": \"fr\",\n \"query\": \"<string>\",\n \"price_min\": 123,\n \"price_max\": 123,\n \"sort\": \"<string>\",\n \"page\": 123,\n \"per_page\": 95,\n \"brand_ids\": \"<string>\",\n \"size_ids\": \"<string>\",\n \"catalog_ids\": \"<string>\",\n \"color_ids\": \"<string>\",\n \"status_ids\": \"<string>\"\n },\n \"refresh_interval_seconds\": 1807.5,\n \"webhook_url\": \"<string>\",\n \"market\": \"fr\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nephia.cc/v1/vinted/watches")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"criteria\": {\n \"market\": \"fr\",\n \"query\": \"<string>\",\n \"price_min\": 123,\n \"price_max\": 123,\n \"sort\": \"<string>\",\n \"page\": 123,\n \"per_page\": 95,\n \"brand_ids\": \"<string>\",\n \"size_ids\": \"<string>\",\n \"catalog_ids\": \"<string>\",\n \"color_ids\": \"<string>\",\n \"status_ids\": \"<string>\"\n },\n \"refresh_interval_seconds\": 1807.5,\n \"webhook_url\": \"<string>\",\n \"market\": \"fr\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"accountId": "<string>",
"market": "<string>",
"criteria": {
"market": "<string>",
"query": "<string>",
"priceMin": 123,
"priceMax": 123,
"sort": "<string>",
"page": 123,
"perPage": 123,
"filters": {}
},
"criteriaHash": "<string>",
"refreshIntervalSeconds": 123,
"webhookUrl": "<string>",
"isActive": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"pausedReason": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "Rate limit exceeded",
"code": "TOO_MANY_REQUESTS"
}Authorizations
API key created from the Nephia dashboard for your Account.
Body
application/json
Response
Watch created
Available options:
vinted, x, reddit Show child attributes
Show child attributes
Available options:
subscription, payg, deferred, metered Was this page helpful?
⌘I