{"openapi":"3.1.0","info":{"title":"Pick an Agency API","version":"1.0.0","description":"Free, read-only REST API over the Pick an Agency directory: 47,000+ marketing agencies searchable by service, location, industry and rating, plus the Get Matched recommendation engine. No API key required. Attribution: when you display this data publicly, link back to pickanagency.com. AI agents can also use the MCP server at /api/mcp/mcp.","contact":{"name":"Pick an Agency","url":"https://www.pickanagency.com/developers","email":"hello@pickanagency.com"},"license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}},"servers":[{"url":"https://www.pickanagency.com/api/v1"}],"security":[],"components":{"securitySchemes":{},"schemas":{"Meta":{"type":"object","description":"Attribution and docs pointers, present on every response","properties":{"source":{"type":"string"},"attribution":{"type":"string"},"docs":{"type":"string","format":"uri"}}},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}},"paths":{"/search":{"get":{"operationId":"searchAgencies","summary":"Search marketing agencies","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Free-text search (agency name, keyword)"},{"name":"service","in":"query","schema":{"type":"string"},"description":"Service, e.g. SEO, Social Media Marketing"},{"name":"country","in":"query","schema":{"type":"string"},"description":"Country, e.g. United States"},{"name":"city","in":"query","schema":{"type":"string"},"description":"City, e.g. Berlin"},{"name":"industry","in":"query","schema":{"type":"string"},"description":"Industry focus, e.g. SaaS"},{"name":"min_rating","in":"query","schema":{"type":"number","minimum":0,"maximum":5}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":25,"default":10}}],"responses":{"200":{"description":"Matching agencies","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"type":["string","null"]},"location":{"type":"object","properties":{"city":{"type":["string","null"]},"country":{"type":["string","null"]}}},"rating":{"type":["number","null"],"description":"Overall rating, 0-5"},"total_reviews":{"type":"integer"},"services":{"type":"array","items":{"type":"string"}},"industries":{"type":"array","items":{"type":"string"}},"team_size":{"type":["string","null"],"enum":["1-10","11-50","51-200","201-500","500+",null]},"founded_year":{"type":["integer","null"]},"min_budget_usd":{"type":["integer","null"]},"website":{"type":["string","null"]},"is_verified":{"type":"boolean"},"profile_url":{"type":"string","format":"uri"}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Invalid min_rating","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Search failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agencies/{slug}":{"get":{"operationId":"getAgency","summary":"Get one agency profile with recent reviews","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"description":"Agency slug (find it via /search)"}],"responses":{"200":{"description":"Agency profile","content":{"application/json":{"schema":{"type":"object","properties":{"agency":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"type":["string","null"]},"location":{"type":"object","properties":{"city":{"type":["string","null"]},"country":{"type":["string","null"]}}},"rating":{"type":["number","null"],"description":"Overall rating, 0-5"},"total_reviews":{"type":"integer"},"services":{"type":"array","items":{"type":"string"}},"industries":{"type":"array","items":{"type":"string"}},"team_size":{"type":["string","null"],"enum":["1-10","11-50","51-200","201-500","500+",null]},"founded_year":{"type":["integer","null"]},"min_budget_usd":{"type":["integer","null"]},"website":{"type":["string","null"]},"is_verified":{"type":"boolean"},"profile_url":{"type":"string","format":"uri"},"description":{"type":["string","null"]},"recent_reviews":{"type":"array","items":{"type":"object","properties":{"rating":{"type":["number","null"]},"summary":{"type":["string","null"]},"author":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Invalid slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Lookup failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/match":{"get":{"operationId":"matchAgencies","summary":"Get a ranked shortlist of agencies for a brief","parameters":[{"name":"services","in":"query","required":true,"schema":{"type":"string"},"description":"Comma-separated services, e.g. SEO,Content Marketing"},{"name":"country","in":"query","schema":{"type":"string"}},{"name":"city","in":"query","schema":{"type":"string"}},{"name":"budget","in":"query","schema":{"type":"string"},"description":"Monthly budget, e.g. 5000 or $5k-10k. Agencies whose stated minimum budget is above it rank lower (agencies without a stated minimum are unaffected)"},{"name":"industry","in":"query","schema":{"type":"string"}},{"name":"platforms","in":"query","schema":{"type":"string"},"description":"Comma-separated, e.g. Meta Ads,Google Ads. Agencies listing these ad platforms rank higher"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":10,"default":5}}],"responses":{"200":{"description":"Ranked shortlist","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"matches":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"location":{"type":"object","properties":{"city":{"type":["string","null"]},"country":{"type":["string","null"]}}},"rating":{"type":["number","null"],"description":"Overall rating, 0-5"},"total_reviews":{"type":"integer"},"services":{"type":"array","items":{"type":"string"}},"industries":{"type":"array","items":{"type":"string"}},"is_verified":{"type":"boolean"},"match_score":{"type":"number"},"profile_url":{"type":"string","format":"uri"}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"services parameter missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Matching failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}