{"openapi":"3.1.0","info":{"title":"FishingPeg API","version":"1.0.0","summary":"Read-only UK fishing data: venues, clubs, tackle shops, guides and species.","description":"Free, read-only data about where to fish in the UK, checked against original sources and dated. No sign-up is needed: anonymous use allows 60 requests a minute and 2,000 a day per IP. Link to the FishingPeg page (the `url` field) whenever you show this data, and keep the attribution. Licence: https://fishingpeg.com/data-licence","contact":{"name":"FishingPeg","url":"https://fishingpeg.com/feedback"},"license":{"name":"FishingPeg data licence","url":"https://fishingpeg.com/data-licence"}},"externalDocs":{"url":"https://fishingpeg.com/developers"},"servers":[{"url":"https://fishingpeg.com/v1"}],"components":{"schemas":{"Verification":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Verification","type":"object","properties":{"status":{"type":"string","enum":["verified","listed","uncertain"],"description":"verified: checked against a source on lastVerified; listed: imported, not yet checked; uncertain: may be out of date"},"lastVerified":{"anyOf":[{"type":"string","description":"ISO 8601 date, e.g. 2026-11-20"},{"type":"null"}]},"method":{"description":"How it was checked: owner, website, phone, visit, club, osm","type":["string","null"]}},"required":["status","lastVerified","method"],"additionalProperties":false},"Location":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Location","type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"},"precision":{"type":"string","enum":["exact","area"],"description":"area: the pin shows the village or area, not the water"},"postcode":{"type":["string","null"]},"place":{"type":["string","null"]},"county":{"type":["string","null"]}},"required":["lat","lng","precision","postcode","place","county"],"additionalProperties":false},"Source":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Source","type":"object","properties":{"origin":{"type":"string","enum":["fishingpeg","openstreetmap"]},"licence":{"type":"string","description":"Licence that applies to this record"},"attribution":{"type":"string"}},"required":["origin","licence","attribution"],"additionalProperties":false},"Ticket":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Ticket","type":"object","properties":{"label":{"type":"string"},"priceGBP":{"type":"number","description":"0 means free"},"unit":{"type":["string","null"]},"buyVia":{"type":["string","null"]},"bookingUrl":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]}},"required":["label","priceGBP","unit","buyVia","bookingUrl"],"additionalProperties":false},"VenueSummary":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/VenueSummary","type":"object","properties":{"venueId":{"type":"string","description":"Permanent id, e.g. fp_mw9ge5n7. Never changes when a venue is renamed"},"name":{"type":"string"},"url":{"type":"string","description":"The venue's page on FishingPeg. Link to it when you use this data"},"shortUrl":{"type":"string","description":"Absolute https URL"},"type":{"type":"string","description":"e.g. Lake, River, Commercial fishery"},"waterType":{"type":["string","null"]},"location":{"$ref":"#/components/schemas/Location"},"distanceMiles":{"type":["number","null"]},"runBy":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"url":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]},"access":{"type":"object","properties":{"summary":{"type":"string","description":"How to fish it, in words"},"dayTickets":{"type":"boolean"},"fromPriceGBP":{"type":["number","null"]},"priceIs":{"description":"What fromPriceGBP buys, e.g. 'day ticket' or 'adult membership a year'","type":["string","null"]}},"required":["summary","dayTickets","fromPriceGBP","priceIs"],"additionalProperties":false},"species":{"type":"array","items":{"type":"string"},"description":"Species slugs; see /v1/species/{slug}"},"methods":{"type":"array","items":{"type":"string"}},"facilities":{"type":"array","items":{"type":"string"}},"verification":{"$ref":"#/components/schemas/Verification"},"complete":{"type":"boolean","description":"Has a location, how to fish it, species, a price and a verified date"}},"required":["venueId","name","url","shortUrl","type","waterType","location","distanceMiles","runBy","access","species","methods","facilities","verification","complete"],"additionalProperties":false},"VenueDetail":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/VenueDetail","type":"object","properties":{"venueId":{"type":"string","description":"Permanent id, e.g. fp_mw9ge5n7. Never changes when a venue is renamed"},"name":{"type":"string"},"url":{"type":"string","description":"The venue's page on FishingPeg. Link to it when you use this data"},"shortUrl":{"type":"string","description":"Absolute https URL"},"type":{"type":"string","description":"e.g. Lake, River, Commercial fishery"},"waterType":{"type":["string","null"]},"location":{"$ref":"#/components/schemas/Location"},"distanceMiles":{"type":["number","null"]},"runBy":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"url":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]}},"required":["name","url"],"additionalProperties":false},{"type":"null"}]},"access":{"type":"object","properties":{"summary":{"type":"string","description":"How to fish it, in words"},"dayTickets":{"type":"boolean"},"fromPriceGBP":{"type":["number","null"]},"priceIs":{"description":"What fromPriceGBP buys, e.g. 'day ticket' or 'adult membership a year'","type":["string","null"]}},"required":["summary","dayTickets","fromPriceGBP","priceIs"],"additionalProperties":false},"species":{"type":"array","items":{"type":"string"},"description":"Species slugs; see /v1/species/{slug}"},"methods":{"type":"array","items":{"type":"string"}},"facilities":{"type":"array","items":{"type":"string"}},"verification":{"$ref":"#/components/schemas/Verification"},"complete":{"type":"boolean","description":"Has a location, how to fish it, species, a price and a verified date"},"description":{"type":"string"},"speciesNote":{"type":["string","null"]},"tickets":{"type":"array","items":{"$ref":"#/components/schemas/Ticket"}},"pricesFor":{"type":["string","null"]},"pricesChecked":{"anyOf":[{"type":"string","description":"ISO 8601 date, e.g. 2026-11-20"},{"type":"null"}]},"nightFishing":{"anyOf":[{"type":"string","enum":["yes","no","by_arrangement"]},{"type":"null"}]},"openingHours":{"type":["string","null"]},"seasonalClosure":{"type":["string","null"]},"rules":{"type":"object","properties":{"barblessOnly":{"type":["boolean","null"]},"keepnets":{"type":["string","null"]},"maxRods":{"type":["number","null"]},"juniorsAccompaniedUnder":{"type":["number","null"]},"baitBans":{"type":["string","null"]},"notes":{"type":["string","null"]},"rulesUrl":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]}},"required":["barblessOnly","keepnets","maxRods","juniorsAccompaniedUnder","baitBans","notes","rulesUrl"],"additionalProperties":false},"accessibility":{"type":"object","properties":{"accessiblePegs":{"type":["number","null"]},"carToPegMetres":{"type":["number","null"]},"pathSurface":{"type":["string","null"]},"accessibleToilet":{"type":["boolean","null"]},"blueBadgeParking":{"type":["boolean","null"]},"notes":{"type":["string","null"]}},"required":["accessiblePegs","carToPegMetres","pathSurface","accessibleToilet","blueBadgeParking","notes"],"additionalProperties":false},"pegCount":{"type":["number","null"]},"sizeAcres":{"type":["number","null"]},"contact":{"type":"object","properties":{"website":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]},"phone":{"description":"Business numbers only","type":["string","null"]}},"required":["website","phone"],"additionalProperties":false},"licence":{"type":"string","description":"Rod licence needed to fish here"},"sources":{"type":"array","items":{"type":"string","description":"Absolute https URL"}},"source":{"$ref":"#/components/schemas/Source"},"updatedAt":{"anyOf":[{"type":"string","description":"ISO 8601 date, e.g. 2026-11-20"},{"type":"null"}]}},"required":["venueId","name","url","shortUrl","type","waterType","location","distanceMiles","runBy","access","species","methods","facilities","verification","complete","description","speciesNote","tickets","pricesFor","pricesChecked","nightFishing","openingHours","seasonalClosure","rules","accessibility","pegCount","sizeAcres","contact","licence","sources","source","updatedAt"],"additionalProperties":false},"ClubSummary":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/ClubSummary","type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","description":"Absolute https URL"},"area":{"type":"string"},"county":{"type":"string"},"distanceMiles":{"type":["number","null"]},"styles":{"type":"array","items":{"type":"string"}},"adultAnnualGBP":{"type":["number","null"]},"waterCount":{"type":"number"},"verification":{"$ref":"#/components/schemas/Verification"}},"required":["slug","name","url","area","county","distanceMiles","styles","adultAnnualGBP","waterCount","verification"],"additionalProperties":false},"ClubDetail":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/ClubDetail","type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","description":"Absolute https URL"},"area":{"type":"string"},"county":{"type":"string"},"distanceMiles":{"type":["number","null"]},"styles":{"type":"array","items":{"type":"string"}},"adultAnnualGBP":{"type":["number","null"]},"waterCount":{"type":"number"},"verification":{"$ref":"#/components/schemas/Verification"},"summary":{"type":"string"},"website":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]},"membership":{"type":"object","properties":{"pricesFor":{"type":"string"},"prices":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"amountGBP":{"type":["number","null"]},"note":{"type":["string","null"]}},"required":["label","amountGBP","note"],"additionalProperties":false}},"season":{"type":["string","null"]},"howToJoin":{"type":"string"}},"required":["pricesFor","prices","season","howToJoin"],"additionalProperties":false},"waters":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"venueId":{"type":["string","null"]},"url":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]},"type":{"type":"string"}},"required":["name","venueId","url","type"],"additionalProperties":false}}},"required":["slug","name","url","area","county","distanceMiles","styles","adultAnnualGBP","waterCount","verification","summary","website","membership","waters"],"additionalProperties":false},"Shop":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Shop","type":"object","properties":{"name":{"type":"string"},"distanceMiles":{"type":["number","null"]},"address":{"type":["string","null"]},"postcode":{"type":["string","null"]},"lat":{"type":"number"},"lng":{"type":"number"},"phone":{"type":["string","null"]},"website":{"anyOf":[{"type":"string","description":"Absolute https URL"},{"type":"null"}]},"openingHours":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/Source"}},"required":["name","distanceMiles","address","postcode","lat","lng","phone","website","openingHours","source"],"additionalProperties":false},"GuideSummary":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/GuideSummary","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","description":"Absolute https URL"},"category":{"type":"string"},"summary":{"type":"string"},"beginnerFriendly":{"type":"boolean"},"readingTimeMinutes":{"type":"number"},"updatedAt":{"type":"string","description":"ISO 8601 date, e.g. 2026-11-20"}},"required":["slug","title","url","category","summary","beginnerFriendly","readingTimeMinutes","updatedAt"],"additionalProperties":false},"GuideDetail":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/GuideDetail","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","description":"Absolute https URL"},"category":{"type":"string"},"summary":{"type":"string"},"beginnerFriendly":{"type":"boolean"},"readingTimeMinutes":{"type":"number"},"updatedAt":{"type":"string","description":"ISO 8601 date, e.g. 2026-11-20"},"headings":{"type":"array","items":{"type":"string"},"description":"Section headings. Full text is on the page: link to it rather than reproducing it"},"relatedGuides":{"type":"array","items":{"type":"string"}}},"required":["slug","title","url","category","summary","beginnerFriendly","readingTimeMinutes","updatedAt","headings","relatedGuides"],"additionalProperties":false},"Species":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Species","type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"scientificName":{"type":"string"},"otherNames":{"type":"array","items":{"type":"string"}},"url":{"type":"string","description":"Absolute https URL"},"group":{"type":"string"},"origin":{"type":"string"},"beginnerFriendly":{"type":"boolean"},"summary":{"type":"string"},"bestTime":{"type":"string"},"sizes":{"type":"object","properties":{"typical":{"type":"string"},"good":{"type":"string"},"length":{"type":"string"}},"required":["typical","good","length"],"additionalProperties":false},"britishRecord":{"anyOf":[{"type":"object","properties":{"weight":{"type":"string"},"year":{"type":"number"},"venue":{"type":"string"}},"required":["weight","year","venue"],"additionalProperties":false},{"type":"null"}]},"baits":{"type":"array","items":{"type":"object","properties":{"bait":{"type":"string"},"note":{"type":["string","null"]}},"required":["bait","note"],"additionalProperties":false}},"rules":{"type":["string","null"]}},"required":["slug","name","scientificName","otherNames","url","group","origin","beginnerFriendly","summary","bestTime","sizes","britishRecord","baits","rules"],"additionalProperties":false},"Attribution":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Attribution","type":"object","properties":{"text":{"type":"string"},"url":{"type":"string","description":"Absolute https URL"},"licence":{"type":"string","description":"Absolute https URL"},"openStreetMap":{"type":"string"}},"required":["text","url","licence","openStreetMap"],"additionalProperties":false},"Problem":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Problem","type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"number"},"detail":{"type":"string"}},"required":["type","title","status"],"additionalProperties":false,"description":"RFC 9457 problem details"},"Meta":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Meta","type":"object","properties":{"venues":{"type":"number"},"completeVenues":{"type":"number"},"verifiedVenues":{"type":"number"},"clubs":{"type":"number"},"shops":{"type":"number"},"guides":{"type":"number"},"species":{"type":"number"},"generatedAt":{"type":"string"},"licence":{"type":"string","description":"Absolute https URL"},"docs":{"type":"string","description":"Absolute https URL"}},"required":["venues","completeVenues","verifiedVenues","clubs","shops","guides","species","generatedAt","licence","docs"],"additionalProperties":false},"Report":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/Report","type":"object","properties":{"month":{"type":"string"},"species":{"type":["string","null"]},"speciesSlug":{"type":["string","null"]},"count":{"type":"number"},"weight":{"type":["string","null"]},"method":{"type":["string","null"]},"bait":{"type":["string","null"]},"text":{"description":"Up to 280 characters, moderated","type":["string","null"]}},"required":["month","species","speciesSlug","count","weight","method","bait","text"],"additionalProperties":false,"description":"An anonymous catch report from a FishingPeg member (15 or over), checked by a moderator"},"ReportSummary":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"#/components/schemas/ReportSummary","type":"object","properties":{"last30Days":{"type":"number"},"last90Days":{"type":"number"},"species":{"type":"array","items":{"type":"string"}},"methods":{"type":"array","items":{"type":"string"}},"baits":{"type":"array","items":{"type":"string"}}},"required":["last30Days","last90Days","species","methods","baits"],"additionalProperties":false}},"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Optional. Raises the rate limit."}}},"security":[{},{"apiKey":[]}],"paths":{"/venues":{"get":{"operationId":"searchVenues","summary":"Find fishing venues near a place","parameters":[{"name":"near","in":"query","required":false,"description":"UK postcode, outcode or town, e.g. 'SK7 4AA' or 'Hartlepool'","schema":{"description":"UK postcode, outcode or town, e.g. 'SK7 4AA' or 'Hartlepool'","type":"string","minLength":2,"maxLength":100}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","minimum":49,"maximum":61}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","minimum":-9,"maximum":2.5}},{"name":"radius_miles","in":"query","required":false,"description":"Miles (max 50)","schema":{"default":10,"description":"Miles (max 50)","type":"number","minimum":0.5,"maximum":50}},{"name":"species","in":"query","required":false,"description":"Species slug, e.g. carp","schema":{"description":"Species slug, e.g. carp","type":"string","maxLength":40}},{"name":"method","in":"query","required":false,"description":"e.g. float, feeder, fly, lure","schema":{"description":"e.g. float, feeder, fly, lure","type":"string","maxLength":20}},{"name":"water_type","in":"query","required":false,"description":"lake, pond, reservoir, pit, river, canal, drain, shore, pier","schema":{"description":"lake, pond, reservoir, pit, river, canal, drain, shore, pier","type":"string","maxLength":20}},{"name":"access","in":"query","required":false,"schema":{"type":"string","enum":["day_ticket","club","free"]}},{"name":"facility","in":"query","required":false,"description":"Comma-separated, e.g. toilets,parking,disabledAccess","schema":{"description":"Comma-separated, e.g. toilets,parking,disabledAccess","type":"string","maxLength":200}},{"name":"max_day_ticket_gbp","in":"query","required":false,"schema":{"type":"number","minimum":0,"maximum":1000}},{"name":"verified_only","in":"query","required":false,"schema":{"type":"string","enum":["0","1","true","false"]}},{"name":"q","in":"query","required":false,"description":"Name contains","schema":{"description":"Name contains","type":"string","maxLength":100}},{"name":"limit","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"From meta.nextCursor","schema":{"description":"From meta.nextCursor","type":"string","maxLength":20}}],"responses":{"200":{"description":"Venues, nearest first","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/VenueSummary"}},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/venues/{venueId}":{"get":{"operationId":"getVenue","summary":"One venue: tickets, rules, species, opening times, accessibility","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string","pattern":"^fp_[a-z0-9]{8}$"}}],"responses":{"200":{"description":"The venue","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VenueDetail"},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/venues/{venueId}/reports":{"get":{"operationId":"getVenueReports","summary":"Recent anonymous catch reports for a venue, with a summary","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string","pattern":"^fp_[a-z0-9]{8}$"}},{"name":"since_days","in":"query","required":false,"schema":{"default":365,"type":"integer","minimum":1,"maximum":730}},{"name":"limit","in":"query","required":false,"schema":{"default":10,"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Reports, newest first; meta.summary has counts, species, methods and baits","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Report"}},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/clubs":{"get":{"operationId":"searchClubs","summary":"Angling clubs near a place","parameters":[{"name":"near","in":"query","required":false,"description":"UK postcode, outcode or town, e.g. 'SK7 4AA' or 'Hartlepool'","schema":{"description":"UK postcode, outcode or town, e.g. 'SK7 4AA' or 'Hartlepool'","type":"string","minLength":2,"maxLength":100}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","minimum":49,"maximum":61}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","minimum":-9,"maximum":2.5}},{"name":"radius_miles","in":"query","required":false,"description":"Miles (max 50)","schema":{"default":10,"description":"Miles (max 50)","type":"number","minimum":0.5,"maximum":50}},{"name":"limit","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"From meta.nextCursor","schema":{"description":"From meta.nextCursor","type":"string","maxLength":20}}],"responses":{"200":{"description":"Clubs, nearest first","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ClubSummary"}},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/clubs/{slug}":{"get":{"operationId":"getClub","summary":"One club: membership prices and waters","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9-]+$"}}],"responses":{"200":{"description":"The club","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ClubDetail"},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/shops":{"get":{"operationId":"searchShops","summary":"Tackle and bait shops near a place","parameters":[{"name":"near","in":"query","required":false,"description":"UK postcode, outcode or town, e.g. 'SK7 4AA' or 'Hartlepool'","schema":{"description":"UK postcode, outcode or town, e.g. 'SK7 4AA' or 'Hartlepool'","type":"string","minLength":2,"maxLength":100}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","minimum":49,"maximum":61}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","minimum":-9,"maximum":2.5}},{"name":"radius_miles","in":"query","required":false,"description":"Miles (max 50)","schema":{"default":10,"description":"Miles (max 50)","type":"number","minimum":0.5,"maximum":50}},{"name":"limit","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"From meta.nextCursor","schema":{"description":"From meta.nextCursor","type":"string","maxLength":20}}],"responses":{"200":{"description":"Shops, nearest first","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/guides":{"get":{"operationId":"searchGuides","summary":"How-to guides","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100}},{"name":"category","in":"query","required":false,"schema":{"type":"string","maxLength":40}},{"name":"species","in":"query","required":false,"schema":{"type":"string","maxLength":40}},{"name":"beginner","in":"query","required":false,"schema":{"type":"string","enum":["0","1","true","false"]}},{"name":"limit","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"From meta.nextCursor","schema":{"description":"From meta.nextCursor","type":"string","maxLength":20}}],"responses":{"200":{"description":"Guides","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GuideSummary"}},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/guides/{slug}":{"get":{"operationId":"getGuide","summary":"One guide's outline (read the full guide on FishingPeg)","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9-]+$"}}],"responses":{"200":{"description":"The guide","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GuideDetail"},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/species":{"get":{"operationId":"listSpecies","summary":"All species","responses":{"200":{"description":"Species","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Species"}},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}}}}},"/species/{slug}":{"get":{"operationId":"getSpecies","summary":"One species: sizes, baits, best time, British record","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9-]+$"}}],"responses":{"200":{"description":"The species","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Species"},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}},"400":{"description":"Bad parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limited; see Retry-After","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/meta":{"get":{"operationId":"getMeta","summary":"Dataset counts, licence and docs","responses":{"200":{"description":"Counts","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Meta"},"meta":{"type":"object"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"required":["data","meta","attribution"]}}}}}}}}}