# TokenGuard Token Developer Activity API

> TokenGuard Token Developer Activity API is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns GitHub developer activity metrics for a crypto token/project, including forks, stars, issues, and recent commit counts.

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/token_dev
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-token-developer-activity-api-a6a3b3b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BDZIZZEWg-TCfV-6KUocR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tokenguard-token-developer-activity-api-a6a3b3b5 -d '<json body>'
```

Example prompt: Can you pull the developer activity stats for Bitcoin — things like GitHub stars, forks, open issues, and how many commits were made in the last 4 weeks?

## When to prefer this

Use this endpoint when you need on-chain token developer activity signals — specifically GitHub engagement metrics like stars, forks, commits, and issues — as part of due diligence, token safety analysis, or DeFi research. Prefer it over generic GitHub APIs when you need crypto-native token lookup by token_id with micropayment-gated access baked in.

## Known failure modes

- Unknown token_id returns empty or error response
- Token has no associated GitHub repository — returns null metrics
- Micropayment (x402) failure if wallet has insufficient USDC on Base
- Rate limiting or service unavailability on the HuggingFace Space host
- Stale or cached GitHub data if upstream sync is delayed

## How this service works

GitHub developer activity for any crypto project — commits, stars, forks, PRs, code additions/deletions via CoinGecko.

## Output

Returns a JSON object with the token's name, token_id, GitHub fork count, star count, total open issues, and commit count over the past 4 weeks — giving a snapshot of developer health and engagement for that project.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token_id": {
   "type": "string",
   "default": "bitcoin"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Bitcoin",
  "forks": 36426,
  "stars": 73168,
  "token_id": "bitcoin",
  "total_issues": 8014,
  "commit_count_4w": 108
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-token-developer-activity-api-a6a3b3b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
