Hentai API

The documentation to create your own hentai website or project using Hentai Ocean's API.

The API is still in development, more features to come.

Table of contents

Fetch API

Fetch all the data from the hentai you want. With the slug, you get the title, dates, genres, cover and more from the hentai.

Endpoint: https://hentaiocean.com/api?action=hentai&slug=my-mother-1

Example output:

{
  "info": [
    {
      "id": 103,
      "urlname": "my-mother-1",
      "videoname": "My Mother 1",
      "description": "When Nuch, a beautiful single mother, goes on vacation with Nont, her son, at a beachfront hotel, things always happen whenever she gets drunk. Especially when she finds out the secret between Nont and his sister. \r\n\r\nHentai Anime from H-manga by XTER, Best seller Thai Milf manga artist. Immoral erotic story of Mama Nuch and Nont''s vacation at a beachfront hotel waiting for you to experience.",
      "releasedate": "2023-09-27",
      "uploaddate": "2025-07-03",
      "coverimg": "fbd59d3d379f93c73da869939585815d69b86976.jpg",
      "series": null,
      "status": 1,
      "recentrelease": 0
    }
  ],
  "genres": [
    {
      "genre": "Milf"
    },
    {
      "genre": "Uncensored"
    }
  ]
}

In order to use the cover image, use https://hentaiocean.com/assets/optcover/fbd59d3d379f93c73da869939585815d69b86976.jpg. You should download the image onto your server instead of hotlinking it.

RSS Feed

To see all hentai videos on the website, you can use the RSS Feed to always stay up-to-date.

Endpoint: https://hentaiocean.com/rss.xml

Depending on your use case, it is recommended not only to use it to indicate new additions but also to indicate removals.

Embed API

The Embed API allows you to put the video into an iframe. This allows you to play the videos on your website without hosting it yourself.

You can turn any episode on the website into an embed by changing the URL from /watch/ to /embed/. Optionally, you can click the "Embed" button on the page to obtain the iframe HTML code.

Endpoint: https://hentaiocean.com/embed/<hentai-slug>

Parameters Value type Required? Description
?logo Link No Add a custom logo image at the top right of the player.

Example code:

<div class="video" style="width:800px;">
    <iframe src="https://hentaiocean.com/embed/hametsu-no-yuuwaku-1?logo=https://amateursubs.com/wp-content/uploads/2025/04/logo_ico-removebg-preview.png" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen="true"></iframe>
</div>

CSS to ensure a 16:9 ratio:

.video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: calc(56.25% + 40px);
}
.video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

Thumbnail

If you prefer a 16:9 video thumbnail instead of the DVD cover, you can obtain it from the following endpoints. Don't forget to add .webp at the end.

Thumbnail: https://hentaiocean.com/thumbnail/<hentai-slug>.webp

Storyboard: https://hentaiocean.com/storyboard/<hentai-slug>.webp

Websites using our Hentai API




Contact us on Discord if you are also using it and want your logo to be placed here.