Business Services
Habitica logo

Habitica API

habitica.com

Habitica — account profile, tasks, and party/group membership

Actions
5
Category
Business Services
Login
Some actions
Output
JSON

Call the Habitica API

Submit a task, then poll the job until it settles. This example runs act_habitica_com_get_account_profile.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_habitica_com_get_account_profile",
    "credential_id": "<your-credential-id>",
    "params": {}
  }'

5 actions on habitica.com

Read

  • Account Profile

    act_habitica_com_get_account_profilereadlogin required1 credit / call

    Get Habitica account/profile stats: level, class, health, experience, gold, mana, party/guilds, and profile details.

  • Account Profile

    act_habitica_com_account_profilereadlogin required1 credit / call

    Get Habitica account/profile stats: level, class, health, experience, gold, mana, and profile details.

  • List Tasks

    act_habitica_com_get_list_tasksreadlogin required1 credit / call

    List Habitica tasks by type — habits, dailies, to-dos and rewards (title, type, notes, checklist, due, completed).

    type
    string
  • List Tasks

    act_habitica_com_list_tasksreadlogin required1 credit / call

    List Habitica tasks by type — habits, dailies, to-dos, and rewards (title, type, notes, checklist, completed).

    type
    string
  • Party Group

    act_habitica_com_party_groupreadlogin required1 credit / call

    Get Habitica party membership, guilds, invitations, and group plans.

Habitica API questions

Is there an API for Habitica?
Habitica does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for habitica.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Habitica data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when habitica.com changes its markup, Anakin updates the action.
Do I need a Habitica account?
Some Habitica actions read data that is only visible when signed in, so those need a credential you connect once. Actions marked "read" without a login requirement run anonymously.
What does the Habitica API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Business Services APIs

All Business Services sites