Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: deadends.dev Country API
description: Structured failure knowledge for AI agents. Query error signatures to find dead ends, workarounds, and error transition graphs.
version: 1.0.0
contact:
url: https://github.com/dbwls99706/deadends.dev
servers:
- url: https://deadends.dev/api/v1
tags:
- name: Country
paths:
/api/v1/country/{country}.json:
get:
summary: Per-country aggregate
description: Returns all country-scoped dead ends for a single country in one network call. Use this when an AI agent needs jurisdiction-specific knowledge (visa, banking, legal, cultural, medical, emergency) for a single country - replaces N individual canon lookups.
operationId: getCountryAggregate
parameters:
- name: country
in: path
required: true
description: ISO 3166-1 alpha-2 country code, lowercase
schema:
type: string
responses:
'200':
description: Country aggregate
content:
application/json:
schema:
$ref: '#/components/schemas/CountryAggregate'
tags:
- Country
components:
schemas:
CountryAggregate:
type: object
description: All country-scoped dead ends for a single country in one document.
properties:
country:
type: string
country_name:
type: string
url:
type: string
format: uri
page_url:
type: string
format: uri
last_updated:
type: string
total_entries:
type: integer
domains:
type: array
items:
type: string
entries:
type: array
items:
type: object
properties:
id:
type: string
url:
type: string
format: uri
api_url:
type: string
format: uri
domain:
type: string
category:
type: string
signature:
type: string
regex:
type: string
audience:
type: string
jurisdiction_level:
type: string
enum:
- national
- regional
- city
verdict:
type: object
dead_end_count:
type: integer
workaround_count:
type: integer