Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Wordnik Account API

API-key status and user authentication operations.

Wordnik Account API is one of 5 APIs that Wordnik publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Account. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 5 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 4.0.

Requests are made against a single base URL, https://api.wordnik.com/v4.

5 operations 4 paths 4 schemas 4 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
4.0
Base URL
https://api.wordnik.com/v4
Authentication
API Key, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

Wordnik Account API declares 2 security schemes for authenticating requests. An API key is passed in the query as api_key (api_key). An API key is passed in the header as auth_token (auth_token). By default, every request must be authenticated.

  • api_key — Wordnik issues per-account API keys; pass via the apikey query parameter on every request.
  • auth_token — User auth token returned by /account.json/authenticate/{username}; required for user-scoped account and word-list operations.

Paths & Operations 5

Across 4 paths, the API surfaces 5 operations — 4 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Account 5

API-key status and user authentication operations.

GET
/account.json/apiTokenStatus
Return API Token Status
getApiTokenStatus 1 param → 200
GET
/account.json/authenticate/{username}
Authenticate A User
authenticate 2 params → 200
POST
/account.json/authenticate/{username}
Authenticate A User (POST Body)
authenticatePost 1 param body → 200
GET
/account.json/user
Return The Currently Authenticated User
getLoggedInUser 1 param → 200
GET
/account.json/wordLists
Return The Authenticated User's Word Lists
getWordListsForLoggedInUser 3 params → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are WordList (11 properties), User (8 properties), ApiTokenStatus (6 properties), AuthenticationToken (3 properties). Each schema is shown below with its type and property counts.

WordList
object
11 properties 1 required
User
object
8 properties
ApiTokenStatus
object
6 properties
AuthenticationToken
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wordnik-account-api-openapi.yml Raw ↑

Other APIs Wordnik publishes across the network.

Wordnik Word API
Wordnik Word List API
Wordnik Word Lists API
Wordnik Words API