# Credly Badge Scraper (`crawlerbros/credly-badge-scraper`) Actor

Scrape Credly's catalog of certification and skill badge programs, or verify individual earned badges by their public verification URL. Badge names, issuers, levels, costs, descriptions, and images.

- **URL**: https://apify.com/crawlerbros/credly-badge-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Credly Badge Scraper

Scrape Credly's catalog of certification and skill badge programs, or verify individual earned badges by their public verification URL. Get badge names, issuers, levels, costs, descriptions, and images. HTTP-only via Credly's public endpoints. No auth, no proxy.

### What this actor does

- **Three modes:** `search` (badge/certification catalog), `byBadgeUrls` (individual credential verification), and `byOrganization` (every public badge program from one or more issuers)
- **Catalog search filters:** type (Certification / Validation / Learning / Experience / Recognition / Membership), level (Foundational / Intermediate / Advanced), cost (Free / Paid) — apply to both `search` and `byOrganization`
- **Optional deep data:** full program description, skill tags, and published earning-criteria text per badge (`includeBadgeDetails`, mode=search); `byOrganization` includes description and skill tags for every badge automatically, with no extra request per badge
- **Credential verification:** confirms a specific person earned a specific badge — exactly what Credly's public badge links are designed for (LinkedIn, resumes, email signatures)
- Empty fields are always omitted — no null/sentinel values (including Credly's own `"N/A"` facet sentinel, which is stripped rather than passed through)

### Output per record

#### Mode `search` (badge template)

- `badgeTemplateId`, `name`
- `level`, `timeToEarn`, `cost`, `typeCategory`
- `issuerName`, `issuerId`
- `imageUrl`
- `badgeTemplateUrl` — link to the badge program's public page
- `description` — full program description, only with `includeBadgeDetails: true`
- `skills[]` — skill tags the issuer associates with the badge, only with `includeBadgeDetails: true`
- `earningCriteria[]` — the published "how to earn this badge" requirements, only with `includeBadgeDetails: true`
- `recordType: "badgeTemplate"`, `scrapedAt`

#### Mode `byBadgeUrls` (earned badge)

- `badgeId`, `badgeName`
- `issuerName`, `earnerName`
- `description`
- `isExpired`
- `imageUrl`
- `badgeUrl` — the public verification URL
- `recordType: "earnedBadge"`, `scrapedAt`

#### Mode `byOrganization` (issuer badge browse)

- `badgeTemplateId`, `name`
- `description`, `skills[]` — always included, no extra request needed
- `level`, `timeToEarn`, `cost`, `typeCategory`
- `issuerName`, `issuerId`
- `imageUrl`
- `badgeTemplateUrl` — link to the badge program's public page
- `updatedAt` — when the issuer last updated the badge program on Credly
- `activityUrl` — issuer's own page describing how to earn/get involved, when published
- `earnBadgeUrl` — issuer's dedicated "earn this badge" link, when published
- `recordType: "badgeTemplate"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byBadgeUrls` / `byOrganization` |
| `searchQuery` | string | `AWS` | Free-text keyword (mode=search) |
| `badgeUrls` | array | – | Public badge verification URLs / paths / UUIDs (mode=byBadgeUrls) |
| `organizationSlugs` | array | – | Issuer vanity slugs or `/org/<slug>` URLs (mode=byOrganization) |
| `typeCategories` | array | – | One or more of 6 badge types (mode=search, byOrganization) |
| `levels` | array | – | One or more of 3 difficulty levels (mode=search, byOrganization) |
| `costs` | array | – | `Free` / `Paid` (mode=search, byOrganization) |
| `includeBadgeDetails` | bool | `false` | Fetch each badge program's page for full description, skill tags, and earning criteria (mode=search) |
| `maxItems` | int | `50` | Hard cap (1–1000); see note below for mode=search |

#### Example: free AWS certifications

```json
{
  "mode": "search",
  "searchQuery": "AWS",
  "typeCategories": ["Certification"],
  "costs": ["Free"],
  "maxItems": 50
}
```

#### Example: verify earned badges

```json
{
  "mode": "byBadgeUrls",
  "badgeUrls": [
    "https://www.credly.com/badges/5bf99268-3956-49e4-b82a-f06bdf510fcf/public_url"
  ]
}
```

#### Example: browse an issuer's full badge catalog

```json
{
  "mode": "byOrganization",
  "organizationSlugs": ["aws-community"],
  "maxItems": 200
}
```

### Use cases

- **Certification research** — discover certification/skill badge programs by vendor, level, or cost
- **HR / recruiting verification** — confirm a candidate's claimed credential is real and current
- **Training catalog analysis** — compare badge offerings across issuers (AWS, Microsoft, GIAC, etc.)
- **Credential auditing** — batch-verify a list of badge URLs collected from resumes or LinkedIn profiles

### Data source & limitations

Data comes from Credly's public search endpoint (the same one `credly.com/search` calls), its public organization badge-listing endpoint (the same one `credly.com/org/<slug>` calls to render an issuer's badge catalog), and its public badge-verification pages (the same server-rendered metadata shown when a badge link is shared on social media). Credly's search endpoint is a type-ahead search, not a paginated listing API — it returns at most ~50 results per distinct query regardless of `maxItems`; narrow with `typeCategories`/`levels`/`costs` or try a more specific `searchQuery` to reach different results. The `byOrganization` listing endpoint is fully paginated, so it is not subject to that 50-result cap. Badges that are private, revoked, or belong to an invalid/mistyped ID cannot be verified and will not appear in the output — this mirrors exactly what a visitor would see on Credly's own verification page.

Credly's combined `/api/v1/global_search` endpoint also mixes in `Organization` (issuer), `Pathway` (badge collections) and `FaethmSkill` (raw skill taxonomy) result types alongside `BadgeTemplate`. This actor deliberately scopes to badge templates and earned badges only: pathway detail pages are client-rendered single-page apps with no server-rendered data, so a reliable, JS-free record for that type isn't possible without adding a browser/proxy dependency this actor intentionally avoids to keep it fast and free of extra cost. Organization/issuer records themselves (name, logo, description) aren't emitted as their own record type, but every badge a given issuer publishes is fully covered via `byOrganization`.

### FAQ

**Can I look up all badges a specific person has earned?**
Not with this actor — Credly's public user-profile badge listing requires the profile owner to have made their full badge wall public and isn't exposed via a stable public endpoint; use `byBadgeUrls` with each badge's individual verification link instead.

**Why did some of my `badgeUrls` not return a record?**
Credly badges can be revoked, expired past their verification window, or set to private by the earner — those correctly return no data, the same as if you visited the link in a browser.

**Does `search` mode include badges I'd need to be logged in to see?**
No — only publicly listed badge programs appear; private/internal organization badges are not indexed here.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

## `searchQuery` (type: `string`):

Free-text keyword search across badge/certification names (e.g. `AWS`, `python`, `cybersecurity`).

## `badgeUrls` (type: `array`):

Credly public badge verification URLs (e.g. `https://www.credly.com/badges/<uuid>/public_url`), bare `/badges/<uuid>` paths, or bare badge UUIDs.

## `organizationSlugs` (type: `array`):

Credly organization/issuer identifiers — bare vanity slug (e.g. `aws-community`), or full `https://www.credly.com/org/<slug>` URL. Returns every publicly listed badge program from that issuer, with full description and skill tags, no extra request per badge.

## `typeCategories` (type: `array`):

Restrict to one or more badge types.

## `levels` (type: `array`):

Restrict to one or more difficulty levels.

## `costs` (type: `array`):

Restrict to free or paid badge programs.

## `includeBadgeDetails` (type: `boolean`):

Fetch each badge program's own page to add its full description, skill tags, and published earning-criteria text. Adds one extra request per result, so runs are slower.

## `maxItems` (type: `integer`):

Hard cap on emitted records. Note: mode=search is a type-ahead search capped at ~50 results per query by Credly itself (narrow the query or filters for different results, rather than expecting more than 50 from one query).

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "AWS",
  "badgeUrls": [],
  "organizationSlugs": [],
  "typeCategories": [],
  "levels": [],
  "costs": [],
  "includeBadgeDetails": false,
  "maxItems": 50
}
```

# Actor output Schema

## `badges` (type: `string`):

Dataset containing all scraped badge templates and/or verified earned badges.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchQuery": "AWS",
    "badgeUrls": [],
    "organizationSlugs": [],
    "typeCategories": [],
    "levels": [],
    "costs": [],
    "includeBadgeDetails": false,
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/credly-badge-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchQuery": "AWS",
    "badgeUrls": [],
    "organizationSlugs": [],
    "typeCategories": [],
    "levels": [],
    "costs": [],
    "includeBadgeDetails": False,
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/credly-badge-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "AWS",
  "badgeUrls": [],
  "organizationSlugs": [],
  "typeCategories": [],
  "levels": [],
  "costs": [],
  "includeBadgeDetails": false,
  "maxItems": 50
}' |
apify call crawlerbros/credly-badge-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/credly-badge-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ad9bPUM8q5Qymco7u/builds/2u5eKkgfkOiGxELis/openapi.json
