List X watch events
curl --request GET \
--url https://api.nephia.cc/v1/x/watches/{id}/events \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nephia.cc/v1/x/watches/{id}/events"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.nephia.cc/v1/x/watches/{id}/events', 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/x/watches/{id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.nephia.cc/v1/x/watches/{id}/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nephia.cc/v1/x/watches/{id}/events")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nephia.cc/v1/x/watches/{id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"events": [
{
"id": "<string>",
"watchId": "<string>",
"listing": {
"id": "<string>",
"source": "<string>",
"market": "<string>",
"title": "<string>",
"price": 123,
"currency": "<string>",
"brand": "<string>",
"size": "<string>",
"status": "<string>",
"color1": "<string>",
"color2": "<string>",
"description": "<string>",
"photos": [
{
"url": "<string>",
"width": 123,
"height": 123
}
],
"url": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"isReserved": true,
"favouriteCount": 123,
"viewCount": 123,
"seller": {
"id": "<string>",
"login": "<string>",
"feedbackScore": 123,
"feedbackCount": 123,
"photoUrl": "<string>",
"business": true,
"countryCode": "<string>",
"city": "<string>",
"country": "<string>",
"positiveFeedbackCount": 123,
"neutralFeedbackCount": 123,
"negativeFeedbackCount": 123,
"itemCount": 123,
"totalItemsCount": 123,
"followersCount": 123,
"followingCount": 123,
"isOnline": true,
"isOnHoliday": true,
"lastLoggedOnAt": "<string>",
"profileUrl": "<string>",
"locale": "<string>"
},
"sourceMetadata": {}
},
"previousPrice": 123,
"occurredAt": "<string>",
"tweet": {
"id": "<string>",
"text": "<string>",
"createdAt": "<string>",
"lang": "<string>",
"url": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"displayName": "<string>",
"profileImageUrl": "<string>",
"verified": true,
"isBlueVerified": true
},
"metrics": {
"likes": 123,
"replies": 123,
"retweets": 123,
"quotes": 123,
"views": 123,
"bookmarks": 123
},
"media": [
{
"url": "<string>",
"previewUrl": "<string>",
"width": 123,
"height": 123,
"durationMs": 123,
"variants": [
{
"url": "<string>",
"contentType": "<string>",
"bitrate": 123
}
]
}
],
"entities": {
"urls": [
{
"url": "<string>",
"expandedUrl": "<string>",
"displayUrl": "<string>"
}
],
"mentions": [
{
"id": "<string>",
"username": "<string>",
"name": "<string>"
}
],
"hashtags": [
{
"text": "<string>"
}
],
"cashtags": [
{
"text": "<string>"
}
]
},
"quotedTweet": null,
"retweetedTweet": null,
"inReplyToTweetId": "<string>",
"inReplyToUserId": "<string>",
"inReplyToUsername": "<string>",
"conversationId": "<string>",
"displayTextRange": "<array>",
"source": "<string>",
"possiblySensitive": true,
"poll": {
"choices": [
{
"label": "<string>",
"votes": 123
}
],
"endAt": "<string>",
"countsAreFinal": true
},
"card": {
"type": "<string>",
"url": "<string>",
"title": "<string>",
"description": "<string>",
"imageUrl": "<string>"
},
"communityNote": {
"text": "<string>",
"title": "<string>"
},
"editControl": {
"editTweetIds": [
"<string>"
],
"editableUntilMs": 123,
"editsRemaining": 123,
"isEditEligible": true
}
},
"post": {
"id": "<string>",
"fullname": "<string>",
"title": "<string>",
"selftext": "<string>",
"selftextHtml": "<string>",
"url": "<string>",
"permalink": "<string>",
"domain": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"fullname": "<string>"
},
"authorFlairText": "<string>",
"subreddit": "<string>",
"subredditPrefixed": "<string>",
"subredditId": "<string>",
"subredditSubscribers": 123,
"score": 123,
"ups": 123,
"upvoteRatio": 123,
"numComments": 123,
"numCrossposts": 123,
"gilded": 123,
"totalAwards": 123,
"awards": [
{
"id": "<string>",
"name": "<string>",
"count": 123,
"iconUrl": "<string>"
}
],
"createdAt": "<string>",
"editedAt": "<string>",
"isNsfw": true,
"isSelf": true,
"isSpoiler": true,
"isLocked": true,
"isStickied": true,
"isArchived": true,
"isOriginalContent": true,
"isVideo": true,
"isGallery": true,
"distinguished": "<string>",
"removedByCategory": "<string>",
"linkFlairText": "<string>",
"linkFlairBackgroundColor": "<string>",
"linkFlairTextColor": "<string>",
"linkFlairTemplateId": "<string>",
"thumbnail": "<string>",
"previewImages": [
{
"url": "<string>",
"width": 123,
"height": 123
}
],
"media": null,
"galleryData": null
}
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "Rate limit exceeded",
"code": "TOO_MANY_REQUESTS"
}Watches
List X watch events
GET
/
v1
/
x
/
watches
/
{id}
/
events
List X watch events
curl --request GET \
--url https://api.nephia.cc/v1/x/watches/{id}/events \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nephia.cc/v1/x/watches/{id}/events"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.nephia.cc/v1/x/watches/{id}/events', 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/x/watches/{id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.nephia.cc/v1/x/watches/{id}/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nephia.cc/v1/x/watches/{id}/events")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nephia.cc/v1/x/watches/{id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"events": [
{
"id": "<string>",
"watchId": "<string>",
"listing": {
"id": "<string>",
"source": "<string>",
"market": "<string>",
"title": "<string>",
"price": 123,
"currency": "<string>",
"brand": "<string>",
"size": "<string>",
"status": "<string>",
"color1": "<string>",
"color2": "<string>",
"description": "<string>",
"photos": [
{
"url": "<string>",
"width": 123,
"height": 123
}
],
"url": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"isReserved": true,
"favouriteCount": 123,
"viewCount": 123,
"seller": {
"id": "<string>",
"login": "<string>",
"feedbackScore": 123,
"feedbackCount": 123,
"photoUrl": "<string>",
"business": true,
"countryCode": "<string>",
"city": "<string>",
"country": "<string>",
"positiveFeedbackCount": 123,
"neutralFeedbackCount": 123,
"negativeFeedbackCount": 123,
"itemCount": 123,
"totalItemsCount": 123,
"followersCount": 123,
"followingCount": 123,
"isOnline": true,
"isOnHoliday": true,
"lastLoggedOnAt": "<string>",
"profileUrl": "<string>",
"locale": "<string>"
},
"sourceMetadata": {}
},
"previousPrice": 123,
"occurredAt": "<string>",
"tweet": {
"id": "<string>",
"text": "<string>",
"createdAt": "<string>",
"lang": "<string>",
"url": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"displayName": "<string>",
"profileImageUrl": "<string>",
"verified": true,
"isBlueVerified": true
},
"metrics": {
"likes": 123,
"replies": 123,
"retweets": 123,
"quotes": 123,
"views": 123,
"bookmarks": 123
},
"media": [
{
"url": "<string>",
"previewUrl": "<string>",
"width": 123,
"height": 123,
"durationMs": 123,
"variants": [
{
"url": "<string>",
"contentType": "<string>",
"bitrate": 123
}
]
}
],
"entities": {
"urls": [
{
"url": "<string>",
"expandedUrl": "<string>",
"displayUrl": "<string>"
}
],
"mentions": [
{
"id": "<string>",
"username": "<string>",
"name": "<string>"
}
],
"hashtags": [
{
"text": "<string>"
}
],
"cashtags": [
{
"text": "<string>"
}
]
},
"quotedTweet": null,
"retweetedTweet": null,
"inReplyToTweetId": "<string>",
"inReplyToUserId": "<string>",
"inReplyToUsername": "<string>",
"conversationId": "<string>",
"displayTextRange": "<array>",
"source": "<string>",
"possiblySensitive": true,
"poll": {
"choices": [
{
"label": "<string>",
"votes": 123
}
],
"endAt": "<string>",
"countsAreFinal": true
},
"card": {
"type": "<string>",
"url": "<string>",
"title": "<string>",
"description": "<string>",
"imageUrl": "<string>"
},
"communityNote": {
"text": "<string>",
"title": "<string>"
},
"editControl": {
"editTweetIds": [
"<string>"
],
"editableUntilMs": 123,
"editsRemaining": 123,
"isEditEligible": true
}
},
"post": {
"id": "<string>",
"fullname": "<string>",
"title": "<string>",
"selftext": "<string>",
"selftextHtml": "<string>",
"url": "<string>",
"permalink": "<string>",
"domain": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"fullname": "<string>"
},
"authorFlairText": "<string>",
"subreddit": "<string>",
"subredditPrefixed": "<string>",
"subredditId": "<string>",
"subredditSubscribers": 123,
"score": 123,
"ups": 123,
"upvoteRatio": 123,
"numComments": 123,
"numCrossposts": 123,
"gilded": 123,
"totalAwards": 123,
"awards": [
{
"id": "<string>",
"name": "<string>",
"count": 123,
"iconUrl": "<string>"
}
],
"createdAt": "<string>",
"editedAt": "<string>",
"isNsfw": true,
"isSelf": true,
"isSpoiler": true,
"isLocked": true,
"isStickied": true,
"isArchived": true,
"isOriginalContent": true,
"isVideo": true,
"isGallery": true,
"distinguished": "<string>",
"removedByCategory": "<string>",
"linkFlairText": "<string>",
"linkFlairBackgroundColor": "<string>",
"linkFlairTextColor": "<string>",
"linkFlairTemplateId": "<string>",
"thumbnail": "<string>",
"previewImages": [
{
"url": "<string>",
"width": 123,
"height": 123
}
],
"media": null,
"galleryData": null
}
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "Rate limit exceeded",
"code": "TOO_MANY_REQUESTS"
}Was this page helpful?
⌘I