Skip to main content
POST
/
api
/
fandom
/
wikis
/fandom/wikis
curl --request POST \
  --url https://api.anysite.io/api/fandom/wikis \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "wiki": "<string>",
  "timeout": 300,
  "lang": ""
}
'
[
  {
    "name": "<string>",
    "@type": "@fandom_wiki",
    "id": "<string>",
    "base_url": "",
    "server": "",
    "article_path": "<string>",
    "language": "<string>",
    "main_page": "<string>",
    "is_rtl": true,
    "generator": "<string>",
    "image": "<string>",
    "favicon": "<string>",
    "page_count": 123,
    "article_count": 123,
    "edit_count": 123,
    "image_count": 123,
    "user_count": 123,
    "active_user_count": 123,
    "admin_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
wiki
string
required

Wiki subdomain (e.g. harrypotter, minecraft) or a full wiki URL

Minimum string length: 1
Examples:

"harrypotter"

"minecraft"

"https://elderscrolls.fandom.com"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
lang
string
default:""

Language path segment for multilingual wikis (e.g. de, es, pl); empty for the default

Maximum string length: 8

Response

Successful Response

name
string
required
@type
string
default:@fandom_wiki
id
string | null
base_url
string
default:""
server
string
default:""
article_path
string | null
language
string | null
main_page
string | null
is_rtl
boolean | null
generator
string | null
image
string | null
favicon
string | null
page_count
integer | null
article_count
integer | null
edit_count
integer | null
image_count
integer | null
user_count
integer | null
active_user_count
integer | null
admin_count
integer | null