api-ninjas-com Entertainment API

The Entertainment API from api-ninjas-com — 2 operation(s) for entertainment.

Operations 2

GET /v1/emoji Get Emojis #
GET /v1/horoscope Get daily horoscope for a specific zodiac sign #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/api-ninjas-com:api-ninjas-com-entertainment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

api-ninjas-com-entertainment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ninjas Entertainment API
  description: 'Combined OpenAPI specification for every API Ninjas endpoint. Requests go to https://api.api-ninjas.com with an `X-Api-Key` header; get a free key at https://api-ninjas.com/register. Human-readable docs: https://api-ninjas.com/api. Index for LLMs: https://api-ninjas.com/llms.txt.'
  version: 1.0.0
  contact:
    name: API Ninjas
    url: https://api-ninjas.com
  license:
    name: Proprietary
servers:
- url: https://api.api-ninjas.com
  description: API Ninjas Production
security:
- ApiKeyAuth: []
tags:
- name: Entertainment
paths:
  /v1/emoji:
    get:
      tags:
      - Entertainment
      summary: Get Emojis
      description: Returns a list of emojis according to input parameters. Returns at most 30 results. To access more than 30 results, use the offset parameter to offset results in multiple API calls.
      operationId: getEmojis
      parameters:
      - $ref: '#/components/parameters/name'
      - $ref: '#/components/parameters/code'
      - $ref: '#/components/parameters/group'
      - $ref: '#/components/parameters/subgroup'
      - $ref: '#/components/parameters/EmojiOpenapi_offset'
      responses:
        '200':
          description: A list of emojis
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmojiResponse'
        '400':
          $ref: '#/components/responses/EmojiOpenapi_400'
        '401':
          $ref: '#/components/responses/EmojiOpenapi_401'
        '500':
          $ref: '#/components/responses/EmojiOpenapi_500'
      security:
      - ApiKeyAuth: []
  /v1/horoscope:
    get:
      tags:
      - Entertainment
      summary: Get daily horoscope for a specific zodiac sign
      description: Returns the daily horoscope for one zodiac sign. An optional `date` in YYYY-MM-DD format gives a past day's horoscope; future dates are not accepted.
      operationId: getHoroscope
      parameters:
      - $ref: '#/components/parameters/zodiac'
      - name: date
        in: query
        required: false
        schema:
          type: string
          format: date
        description: The date for the horoscope in YYYY-MM-DD format. The date must be either current or in the past. It cannot be in the future. If not provided, returns the horoscope for today's date. Premium only.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HoroscopeResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HoroscopeOpenapi_ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HoroscopeOpenapi_ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HoroscopeOpenapi_ErrorResponse'
      security:
      - ApiKeyAuth: []
components:
  responses:
    EmojiOpenapi_400:
      description: Bad Request
    EmojiOpenapi_401:
      description: Unauthorized
    EmojiOpenapi_500:
      description: Internal Server Error
  parameters:
    EmojiOpenapi_offset:
      name: offset
      in: query
      description: Number of results to offset for pagination.
      required: false
      schema:
        type: integer
        format: int32
        minimum: 0
    subgroup:
      name: subgroup
      in: query
      description: Sub-category the emoji belongs to.
      required: false
      schema:
        type: string
    group:
      name: group
      in: query
      description: Main category the emoji belongs to.
      required: false
      schema:
        type: string
        enum:
        - smileys_emotion
        - people_body
        - component
        - animals_nature
        - food_drink
        - travel_places
        - activities
        - objects
        - symbols
        - flags
    name:
      name: name
      in: query
      description: Descriptive name of emoji.
      required: false
      schema:
        type: string
    code:
      name: code
      in: query
      description: Unicode character code for the emoji.
      required: false
      schema:
        type: string
    zodiac:
      name: zodiac
      in: query
      description: 'The zodiac sign to get a horoscope for. Valid values are: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces.'
      required: true
      schema:
        type: string
        enum:
        - aries
        - taurus
        - gemini
        - cancer
        - leo
        - virgo
        - libra
        - scorpio
        - sagittarius
        - capricorn
        - aquarius
        - pisces
  schemas:
    EmojiResponse:
      type: array
      items:
        type: object
        properties:
          code:
            type: string
            example: U+1F642
          character:
            type: string
            example: 🙂
          image:
            type: string
            format: uri
            example: https://media.api-ninjas.com/emojis/U%2B1F642.png
          name:
            type: string
            example: slightly smiling face
          group:
            type: string
            example: smileys_emotion
          subgroup:
            type: string
            example: face_smiling
    HoroscopeOpenapi_ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message describing the problem.
    HoroscopeResponse:
      type: object
      properties:
        date:
          type: string
          format: date
          description: The date for the horoscope in YYYY-MM-DD format.
        sign:
          type: string
          description: The zodiac sign the horoscope is for.
        horoscope:
          type: string
          description: The daily horoscope text for the specified zodiac sign.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
externalDocs:
  description: API Ninjas documentation
  url: https://api-ninjas.com/api