Resolve a Kodik embed iframe URL by external id
GET
/api/v1/embed/{idType}/{id}
const url = 'http://localhost:8080/api/v1/embed/shikimori/20';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/embed/shikimori/20Calls Kodik’s /get-player helper and returns the resolved kodikplayer.com iframe URL plus minimal metadata. The endpoint is read-only — it does not write to the database and does not trigger the video decoder. Use /api/v1/parse/search if you also want to ingest the content.
Supported idType values (snake_case or kebab-case accepted):
shikimori— Shikimori id (numeric, e.g.20)kinopoisk— Kinopoisk id (numeric)imdb— IMDb id; thettprefix is added automatically when missingmdl— MyDramaList idkodik— native Kodik id, must be supplied asserial-{n}ormovie-{n}worldart_animation— World Art animation idworldart_cinema— World Art cinema id
Auth: subject to X-API-KEY when orinuno.security.api-key is configured.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” idType
required
string
External id source
Example
shikimori id
required
string
External id value
Example
20Responses
Section titled “ Responses ”Embed resolved
Media type application/json
Resolved Kodik embed (iframe) URL plus metadata for the requested id.
object
idType
string
requestedId
string
normalizedId
string
embedLink
string
mediaType
string | null
Example
{ "idType": "shikimori", "requestedId": "20", "normalizedId": "20", "embedLink": "https://kodikplayer.com/serial/73959/68e2e57cb95f7fb93655637acaca26c2/720p", "mediaType": "serial"}Unknown idType or empty id
Media type application/json
Kodik has no player for the supplied id
Media type application/json
Kodik returned a non-recoverable upstream error
Media type application/json
No working Kodik token available
Media type application/json