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: Petnecto Rescues API
version: 1.0.0
summary: Paw to paw. Shelter pets, one question away.
description: Adoptable pets as JSON. No key. Every pet in one plain format, with its own page here (url) and a link to the shelter's listing (listing_url; Taiwan's is the national adoption site). Add ?output=md for Markdown.
contact:
email: hello@petnecto.com
servers:
- url: https://petnecto.com
tags:
- name: Rescues
paths:
/api/v1/rescues/{id}:
get:
operationId: get_rescue
summary: One rescue or shelter
parameters:
- name: id
in: path
required: true
schema:
type: string
pattern: ^(?:rg-org-[a-z0-9]{1,12}|tw-shelter-\d{1,6}|us-shelter-(?:mc|kc)|es-shelter-zgz|jp-shelter-fks|at-shelter-(?:tqt|ma60|rfz)|sh_[A-Za-z0-9_-]{3,60}|sl-shelter-[a-z0-9]{2,20})$
- name: output
in: query
required: false
description: md for Markdown instead of JSON
schema:
type: string
enum:
- json
- md
responses:
'200':
description: The answer as JSON (or Markdown with output=md)
content:
application/json:
schema:
type: object
text/markdown:
schema:
type: string
'404':
$ref: '#/components/responses/error'
'429':
$ref: '#/components/responses/error'
'502':
$ref: '#/components/responses/error'
tags:
- Rescues
components:
responses:
error:
description: What went wrong, in a sentence
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error