Skip to content
Maua.Culturewire

API Ninjas

120+ data APIs: weather, finance, validation and more

Data and analyticsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API keySecretRequired

    Where to find them

    1. Sign up for free at api-ninjas.com (no card) and copy your API key from your profile (api-ninjas.com/profile): one key works for all the APIs.
    2. The free plan has a monthly quota and does not allow commercial use; some parameters and some APIs are paid only (“Premium only”).
    3. Once the quota runs out, requests are rejected, with no extra charges.

    Get credentials (opens in a new tab)

Tools (1)

  • API Ninjas API requestAPININJAS_SEND_REQUEST

    Authenticated call to the API Ninjas API (https://api.api-ninjas.com). Any endpoint of the API is allowed. The version is in the path: most are /v1 and the newer ones /v2 (check each API's documentation). Examples: GET /v2/randomword, GET /v1/weather?city=London, GET /v1/exchangerate?pair=EUR_USD, GET /v1/dnslookup?domain=example.com, GET /v1/validateemail?email=name@example.com, GET /v1/geocoding?city=London&country=GB, GET /v1/stockprice?ticker=AAPL.

    Required scopes

    No scopes required

    Input

    API Ninjas API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.