{"openapi":"3.1.0","info":{"title":"Vulnerable Children Resource Center API","version":"1.0.0","description":"Read-only access to published research summaries, organization profiles, statistics, guides and resources. Rate limit: 120 requests per minute per IP (see X-RateLimit-* headers). No authentication required. Only published, editor-reviewed content is returned.","license":{"name":"CC BY 4.0 (VCRC text); third-party sources keep their own licenses","url":"https://creativecommons.org/licenses/by/4.0/"}},"servers":[{"url":"https://vcrcworld.org/api/v1"}],"paths":{"/{resource}":{"get":{"summary":"List published records","parameters":[{"name":"resource","in":"path","required":true,"schema":{"type":"string","enum":["research","organizations","articles","statistics","resources","news","comparisons","topics","countries","game-changers"]}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"topic","in":"query","description":"Topic slug","schema":{"type":"string"}},{"name":"country","in":"query","description":"Country slug or ISO 3166-1 alpha-2 code (research, organizations, articles, news)","schema":{"type":"string"}},{"name":"gameChanger","in":"query","description":"Game Changer slug, e.g. trusted-relationships (research, organizations, articles, resources)","schema":{"type":"string","enum":["safe-spaces","trusted-relationships","education","technology-stem","confidence-hope","spiritual-formation","family-strengthening","leadership-opportunity"]}},{"name":"updatedSince","in":"query","description":"ISO 8601 date-time","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Paginated list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/{resource}/{slug}":{"get":{"summary":"Get one record by slug","parameters":[{"name":"resource","in":"path","required":true,"schema":{"type":"string","enum":["research","organizations","articles","statistics","resources","news","comparisons","topics","countries","game-changers"]}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Record","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"}}}}}},"404":{"$ref":"#/components/responses/Error"}}}},"/search":{"get":{"summary":"Full-text search across all content","parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":200},"description":"Supports quoted phrases, OR, and -exclusion"},{"name":"type","in":"query","schema":{"type":"string"},"description":"Comma-separated collections: research, organizations, articles, datasets, practical-resources, news, comparisons, topics, countries"},{"name":"topic","in":"query","schema":{"type":"string"}},{"name":"country","in":"query","schema":{"type":"string"}},{"name":"region","in":"query","schema":{"type":"string"}},{"name":"attr","in":"query","schema":{"type":"string"},"description":"Facet attributes, e.g. methodology:systematic-review, evidence:peer-reviewed, access:open"},{"name":"yearFrom","in":"query","schema":{"type":"integer"}},{"name":"yearTo","in":"query","schema":{"type":"integer"}},{"name":"sort","in":"query","schema":{"type":"string","enum":["relevance","newest","title"]}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}}],"responses":{"200":{"description":"Hits, facets and pagination"}}}},"/search/suggest":{"get":{"summary":"Title autocomplete","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2}}],"responses":{"200":{"description":"Up to 8 suggestions"}}}}},"components":{"schemas":{"Page":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"meta":{"type":"object","properties":{"total":{"type":"integer"},"page":{"type":"integer"},"limit":{"type":"integer"},"totalPages":{"type":"integer"}}},"links":{"type":"object","properties":{"self":{"type":"string"},"next":{"type":["string","null"]},"prev":{"type":["string","null"]}}}}},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}