apyhub
ARTIFICIAL INTELLIGENCE · SEO

AI Text Keyword Extraction API

What it does

Keyword Extractor pulls the most relevant keywords from a block of text. Send text, and you get back keyword extraction results in the response data, either from apyhub or azure depending on requested_service.

Use it when you need to summarise documents, enrich search metadata, or classify content at scale. The request also accepts language for the source text, and you can route the job to Azure by supplying azure credentials such as key, region, endpoint, account_id, or access_token.

The response is intentionally lightweight: it returns a data object with azure and apyhub result objects. That makes it easy to plug into pipelines that rank page terms, generate tags, or support content analytics without parsing a larger document analysis payload.

If your app needs to turn prose into searchable terms, Keyword Extractor gives you a direct text-in, keyword-results-out flow.

POST
Extract keywords from text
https://api.eu.apyverse.com/apyhub/extract-keywords

QUICKSTART

GUIDE

Quickstart

Send a short text to extract keywords with ApyHub.

curl -X POST "https://api.eu.apyverse.com/apyhub/extract-keywords" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"This document describes details on security protocols and cryptography."}'

What you'll get back

Returns a JSON object with a data object field. The data object contains azure and apyhub objects with the keyword-extraction result from the selected service.

{
  "data": {
    "azure": {},
    "apyhub": {}
  }
}
TRY ITLIVE · 500 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
azure
Custom credentials for Azure services.
Azure subscription key.
Azure service region.
Azure endpoint URL.
Azure account ID.
OAuth access token for Azure service.

About this endpoint

What it does

Extracts keywords from the text you provide in the request body. You can optionally include a language hint, custom Azure credentials, and a requested_service value to choose between the Azure and ApyHub keyword-extraction responses.

Request Body

ParameterTypeMandatoryDescription
textStringYesThe input text to analyze for keyword extraction.
azureObjectNoCustom credentials for Azure services. See schema for nested fields.
azure.keyStringNoAzure subscription key.
azure.regionStringNoAzure service region.
azure.endpointStringNoAzure endpoint URL.
azure.account_idStringNoAzure account ID.
azure.access_tokenStringNoOAuth access token for Azure service.
languageStringNoLanguage hint for the input text.
requested_serviceENUMNoWhich service to use for extraction: azure or apyhub. Default: apyhub.

Response

Returns a JSON object with a data object field. The data object may contain an azure object and/or an apyhub object, depending on the service used.

ParameterTypeMandatoryDescription
dataObjectNoContainer for the extraction result.
data.azureObjectNoResponse object from Microsoft Azure Cognitive Services.
data.apyhubObjectNoResponse object from ApyHub language tools.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.