Skip to main content
POST
/
api
/
dbpedia
/
resources
/
search
/dbpedia/resources/search
curl --request POST \
  --url https://api.anysite.io/api/dbpedia/resources/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "type": "http://dbpedia.org/ontology/Person"
}
'
[
  {
    "uri": "<string>",
    "@type": "@dbpedia_search_result",
    "id": "<string>",
    "label": "<string>",
    "description": "<string>",
    "types": [],
    "type_names": [],
    "categories": [],
    "redirects": [],
    "ref_count": 123,
    "score": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Text to search across DBpedia resource labels and abstracts

Minimum string length: 1
count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
type
string | null

Restrict results to a single DBpedia ontology class URI

Example:

"http://dbpedia.org/ontology/Person"

Response

Successful Response

uri
string
required
@type
string
default:@dbpedia_search_result
id
string | null
label
string | null
description
string | null
types
string[]
type_names
string[]
categories
string[]
redirects
string[]
ref_count
integer | null
score
number | null