diff --git a/Odysee-API/api.odysee.com.md b/Odysee-API/api.odysee.com.md index 8e9e213..49fc564 100644 --- a/Odysee-API/api.odysee.com.md +++ b/Odysee-API/api.odysee.com.md @@ -128,4 +128,28 @@ Get the sub count of a channel. "error": "authentication required", "data": null } +``` + +## `GET` /yt/resolve +Get LBRY claim or channel IDs from YouTube video/channel IDs. + +### Query parameters +* video_ids: YouTube video ID (multiple accepted, comma-seperated) +* channel_ids: YouTube channel ID (multiple accepted, comma-seperated) + +### `200` OK +```json +{ + "success": true, + "error": null, + "data": { + "videos": { + "5JvLV2-ngCI": "@AlphaNerd#8/how-ssh-works-2#6", + "12eoipnmdq": "" # Invalid or non-synced videos will return null + }, + "channels": { + "UC5UAwBUum7CPN5buc-_N1Fw": "@TheLinuxExperiment#e5d96ea3720b01cca537c6d90f38e8c11ff06a0a" + } + } +} ``` \ No newline at end of file