Emergency card blocking information for banks worldwide. For humans and AI agents.
https://cashlessconsumer.github.io/card-block-api/
Card Block API is an open database of card blocking information for banks worldwide. It helps humans and AI agents quickly find how to block a lost or stolen debit or credit card.
Started in 2026 as part of the CashlessConsumer initiative to improve consumer safety in India's digital payment ecosystem.
- 🤖 AI Verified - All information verified by AI agents
- 🌐 Multi-Channel - SMS, Phone, App, Website blocking
- 🔌 AI Agent Ready - Structured JSON for programmatic access
- 📱 Mobile First - Designed for emergency use
- 🔒 Privacy First - No data collection
- 🌍 Open Source - Free to use and contribute
- 🇮🇳 India - 10+ banks
# Fetch all Indian banks
curl https://cashlessconsumer.github.io/card-block-api/data/india.json
# Filter by bank
curl https://cashlessconsumer.github.io/card-block-api/data/india.json | jq '.banks[] | select(.slug=="hdfc-bank")'{
"country": "IN",
"country_name": "India",
"banks": [
{
"name": "HDFC Bank",
"slug": "hdfc-bank",
"type": "private",
"website": "https://hdfcbank.com",
"verification": {
"status": "agent_verified",
"confidence": 0.95,
"last_verified": "2026-02-19",
"sources": ["https://..."]
},
"cards": [
{
"type": "debit",
"blocking_methods": [
{
"channel": "sms",
"instructions": "SMS BLOCK <last4> to 5676711"
},
{
"channel": "phone",
"numbers": ["1800 123 4567"]
}
]
}
]
}
]
}| Status | Icon | Description |
|---|---|---|
agent_verified |
🤖 | AI verified through official sources |
human_verified |
✅ | Manually verified by contributors |
unverified |
❓ | Not yet verified |
- Fork this repository
- Edit the JSON file for the country (or create new)
- Include official sources for all information
- Submit a Pull Request
# Install dependencies
npm install
# Run verification script
node verify.js
# Commit changes
git add data/
git commit -m "Verify and update bank data"- All JSON must be valid
- Include verification sources
- Follow the data schema
- Test locally before PR
We use a multi-tier verification system:
- Agent Verification - AI fetches and validates from official sources
- Human Verification - Contributors manually check
- Community Reporting - Users report issues, we verify
- Static Site - GitHub Pages
- Data - JSON files
- Verification - Node.js scripts
- CI/CD - GitHub Actions
This project uses GitHub Actions for:
- ✅ JSON validation
- ✅ URL verification
- ✅ Auto-deployment to GitHub Pages
See .github/workflows/ for details.
- Maintainers - Core team from CashlessConsumer
- Contributors - Community members who submit PRs
- Users - Anyone using the data
- Be respectful and inclusive
- Focus on consumer benefit
- Verify before submitting
- Credit sources
MIT License - See LICENSE
- 📧 Email: contact@cashlessconsumer.in
- 🐙 GitHub: github.com/CashlessConsumer/card-block-api
- 🐘 Mastodon: @cashlessconsumer@freeradical.zone
- CashlessConsumer - Main organization
- UPI QR Generator - FOSS UPI tools
- BBPS Study Circle - Banking research
Built with ❤️ for consumer advocacy