Codewars Scraper - User Honor, Rank & Kata Data avatar

Codewars Scraper - User Honor, Rank & Kata Data

Pricing

from $0.50 / 1,000 record scrapeds

Go to Apify Store
Codewars Scraper - User Honor, Rank & Kata Data

Codewars Scraper - User Honor, Rank & Kata Data

Pull a Codewars user profile (honor, rank, skills), completed-kata history, or kata details (difficulty, languages, stats) from the public API. No login. $0.5/1k items.

Pricing

from $0.50 / 1,000 record scrapeds

Rating

0.0

(0)

Developer

Gio

Gio

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

21 days ago

Last modified

Features

Limited permissions

Share

Codewars Scraper - User Profiles, Katas & Rankings

Pull a Codewars user's honor, rank and skill breakdown, a user's completed-kata history, or a kata's full details (difficulty, languages, stats), straight from the public Codewars API. No login, no scraping fragile HTML.

Why use this scraper

Codewars publishes a public REST API, but pulling it into a spreadsheet, CRM or recruiting pipeline still means writing pagination, retry and normalization code yourself, once per data type you need (users, completed katas, kata metadata). This Actor wraps all three call types behind one Apify input and one consistent dataset shape, so a hiring pipeline, a community leaderboard or a learning-progress tracker can pull Codewars data without maintaining API glue code.

Overview

You choose a mode (users, user_completed_katas or katas) and the usernames or kata IDs/slugs to look up. For users, the Actor returns one item per username with honor, rank, clan, skills and per-language ranks. For user_completed_katas, it paginates through a user's completed-kata history up to maxItems per user. For katas, it returns full kata metadata (difficulty, supported languages, tags, completion stats) per kata ID or slug. A typical run of a handful of lookups finishes in a few seconds, and the three modes can be combined by running the Actor multiple times with the same usernames list.

Honor and kyu rank are Codewars' own measures of how much practice a member has done and at what difficulty level, and both update as soon as the member solves a new kata, so a fresh pull always reflects the member's current standing rather than a snapshot from when they first signed up.

Supported inputs

FieldTypeUsed byDescription
modestringallusers, user_completed_katas or katas
usernamesarray of stringsusers, user_completed_katasCodewars usernames to look up
katasarray of stringskatasKata IDs (24-char hex) or URL slugs
maxItemsintegeruser_completed_katasMax completed katas returned per user (default 50)

Use cases

  1. Technical recruiting - pull a candidate's Codewars honor, rank and language skills (users) to sanity-check a self-reported skill list before a coding interview.
  2. Community and cohort leaderboards - refresh honor and rank for a list of usernames on a schedule to power an internal leaderboard, without each member re-authenticating.
  3. Learning-progress tracking - pull a student's or team member's completed-kata history (user_completed_katas) to measure practice volume and language coverage over time.
  4. Content and curriculum research - look up kata metadata (katas) - difficulty (kyu rank), supported languages, completion count, vote score - to curate a practice set for a given skill level.

How it works

  1. The Actor reads mode and the matching list input (usernames or katas), trims and deduplicates it.
  2. For users, it calls the public Codewars user endpoint once per username and maps honor, rank, clan and per-language skill ranks into one flat item.
  3. For user_completed_katas, it pages through the user's completed-challenges endpoint (200 items per page) until it hits maxItems or runs out of pages, tagging every row with the source username.
  4. For katas, it calls the kata-details endpoint once per ID/slug and returns the kata's difficulty rank, languages, tags, completion and vote stats as-is.
  5. A username or kata that does not exist comes back as one item with error: "fetch_failed" instead of stopping the whole run, so one typo in a batch never loses the rest.

Input configuration - 3 examples

Mode 1 - user profile lookup:

{
"mode": "users",
"usernames": ["jhoffner"]
}

Mode 2 - a user's completed katas (first 50):

{
"mode": "user_completed_katas",
"usernames": ["jhoffner"],
"maxItems": 50
}

Mode 3 - kata details by slug:

{
"mode": "katas",
"katas": ["multiples-of-3-or-5", "valid-parentheses"]
}

Output sample

Real output from smoke test runs, unedited.

mode: "users":

{
"kind": "user",
"username": "jhoffner",
"name": "Jake Hoffner",
"honor": 411439,
"leaderboardPosition": 2,
"clan": "Codewars",
"skills": ["ruby", "c#", ".net", "javascript", "coffeescript", "nodejs", "rails"],
"ranks": { "overall": { "rank": -2, "name": "2 kyu", "color": "purple", "score": 12215 } }
}

mode: "katas":

{
"kind": "kata",
"id": "514b92a657cdc65150000006",
"name": "Multiples of 3 or 5",
"slug": "multiples-of-3-or-5",
"category": "algorithms",
"rank": { "id": -6, "name": "6 kyu", "color": "yellow" },
"totalCompleted": 490466,
"totalStars": 3946,
"voteScore": 32612,
"tags": ["Mathematics", "Algorithms"]
}

Key output fields

FieldModeTypeDescription
username, name, honor, leaderboardPosition, clanusersvariesCore profile stats
skillsusersarrayLanguages the user has marked as skills
ranks.overall / ranks.languagesusersobjectKyu rank and score overall and per language
username, kata fieldsuser_completed_katasvariesOne row per completed kata, tagged with the source username
id, name, slug, rank, languageskatasvariesKata identity and difficulty
totalCompleted, totalStars, voteScorekatasnumberCommunity engagement stats for the kata
erroranystringfetch_failed when a username or kata ID/slug does not exist

Pricing

Pay per event, no subscription.

EventPrice
Actor start$0.00005 (once per run)
Record scraped$0.0005 per item (errors not charged)

Example: looking up 10 user profiles costs about $0.00505; pulling 200 completed katas for one user costs about $0.1001.

What makes this richer than the competition

A direct search of the Apify Store for "Codewars" turns up no other Actor built specifically to pull Codewars user, kata or completed-kata data at the time of writing - the closest listings (GitHub repository analyzers, generic username-availability checkers) cover a different target entirely. This Actor is, as far as the Store search shows, the only dedicated Codewars data Actor: the alternative is writing and maintaining your own pagination and retry code against the Codewars public API directly.

Notes & limitations

  • This Actor reads the public Codewars API; it does not log in and cannot access private clan data or anything not already visible on a public profile.
  • user_completed_katas pages at 200 items per call; a user with thousands of completed katas and a high maxItems will take longer and make more upstream calls.
  • Kata lookups in katas mode require the real Codewars slug or 24-character kata ID, not a guessed or human-friendly name - an incorrect slug (e.g. a kata name with the wrong word order) returns error: "fetch_failed" rather than a fuzzy match.
  • Codewars does not expose a public endpoint for a user's full solution code or clan roster; this Actor only returns what the public profile and kata-detail endpoints expose.
  • Deleted or deactivated Codewars accounts return error: "fetch_failed" for users and user_completed_katas mode, the same as a username that never existed; the Actor cannot distinguish the two cases because the public API does not either.

FAQ

Do I need a Codewars account or API key? No. The Actor reads Codewars' public API, which requires no authentication.

Can I look up multiple users or katas in one run? Yes, pass an array in usernames or katas; each one becomes its own dataset item (or set of items, for completed katas).

What happens if I pass a username that doesn't exist? You get one item with error: "fetch_failed" for that username, and you are not charged for it.

Why did my kata lookup fail? Check the slug against the kata's actual Codewars URL - a plausible-sounding guess (like "multiples-of-3-and-5" instead of the real "multiples-of-3-or-5") will not resolve.

Can I track a user's rank over time? Yes - run this Actor on a schedule with the same usernames list and append results to your own storage; the Actor itself does not keep history between runs.

Can I use this to verify a resume claim before an interview? Yes, that is one of the most common uses: pull the candidate's public honor, overall kyu rank and per-language skill ranks in users mode and compare them against what the candidate listed, in a few seconds and without asking the candidate for anything.

Does honor or rank ever go down? No, Codewars' honor and kyu system is cumulative; a profile's honor only increases as the member solves more katas, so a drop between two runs would indicate the account itself changed (e.g. was deleted and recreated), not a data error in this Actor.

For AI Agents & LLM Apps

This Actor is Apify MCP-compatible and can be called directly from an LLM agent:

  • Via Apify MCP (mcp.apify.com): add gio21/codewars-scraper as a tool and pass {"mode": "users", "usernames": ["jhoffner"]} as the call arguments.
  • Via API (no MCP needed):
curl -X POST "https://api.apify.com/v2/acts/gio21~codewars-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode": "users", "usernames": ["jhoffner"]}'

SEO Keywords

codewars scraper, codewars api, codewars user stats, codewars rank lookup, codewars honor scraper, codewars kata data, codewars leaderboard api, coding challenge progress tracker, codewars completed katas