curl \ -H "Authorization: Bearer API_KEY" \ -X GET "https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare"
curl \ -H "Authorization: Bearer API_KEY" \ -X GET "https://api.ayrshare.com/api/brand/search/linkedin?search=John%20Smith&personOnly=true"
const API_KEY = "API_KEY";// Search for company or personfetch("https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare", { method: "GET", headers: { Authorization: `Bearer ${API_KEY}` }}) .then((res) => res.json()) .then((json) => console.log(json)) .catch(console.error);// Search for person onlyfetch("https://api.ayrshare.com/api/brand/search/linkedin?search=John%20Smith&personOnly=true", { method: "GET", headers: { Authorization: `Bearer ${API_KEY}` }}) .then((res) => res.json()) .then((json) => console.log(json)) .catch(console.error);
import requestsheaders = {'Authorization': 'Bearer API_KEY'}# Search for company or personr = requests.get('https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare', headers=headers)print(r.json())# Search for person onlyr = requests.get('https://api.ayrshare.com/api/brand/search/linkedin?search=john&personOnly=true', headers=headers)print(r.json())
{ "linkedin": [ { "vanityName": "ayrshare", "website": "https://www.ayrshare.com", "groups": [], "description": "Ayrshare's APIs provide the core infrastructure for social media posting, management, and analytics.\n\nThe Ayrshare API takes care of the social media infrastructure so you don't have to. Your team can focus on building your product instead of stitching together and maintaining multiple social media platforms.\n\nPost to Facebook, Twitter, Instagram, LinkedIn, Reddit, Telegram, TikTok, Google My Business, and YouTube.\n", "defaultLocale": { "country": "US", "language": "en" }, "organizationType": "PARTNERSHIP", "alternativeNames": [], "specialties": [ "social media", "api", "saas", "social networks", "tiktok", "facebook", "instagram" ], "staffCountRange": "SIZE_10_TO_100", "name": "Ayrshare", "primaryOrganizationType": "NONE", "locations": [ { "description": { "localized": { "en_US": "Headquarters" }, "preferredLocale": { "country": "US", "language": "en" } }, "locationType": "HEADQUARTERS", "address": { "geographicArea": "New York", "country": "US", "city": "New York", "line1": "142 W 57th St", "postalCode": "10019" }, "localizedDescription": "Headquarters", "streetAddressFieldState": "UNSET_OPT_OUT", "geoLocation": "urn:li:geo:103963738" } ], "id": 66755333 } ]}
{ "linkedin": { "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "The search must be a string between 3 and 100 characters." }}
curl \ -H "Authorization: Bearer API_KEY" \ -X GET "https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare"
curl \ -H "Authorization: Bearer API_KEY" \ -X GET "https://api.ayrshare.com/api/brand/search/linkedin?search=John%20Smith&personOnly=true"
const API_KEY = "API_KEY";// Search for company or personfetch("https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare", { method: "GET", headers: { Authorization: `Bearer ${API_KEY}` }}) .then((res) => res.json()) .then((json) => console.log(json)) .catch(console.error);// Search for person onlyfetch("https://api.ayrshare.com/api/brand/search/linkedin?search=John%20Smith&personOnly=true", { method: "GET", headers: { Authorization: `Bearer ${API_KEY}` }}) .then((res) => res.json()) .then((json) => console.log(json)) .catch(console.error);
import requestsheaders = {'Authorization': 'Bearer API_KEY'}# Search for company or personr = requests.get('https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare', headers=headers)print(r.json())# Search for person onlyr = requests.get('https://api.ayrshare.com/api/brand/search/linkedin?search=john&personOnly=true', headers=headers)print(r.json())
{ "linkedin": [ { "vanityName": "ayrshare", "website": "https://www.ayrshare.com", "groups": [], "description": "Ayrshare's APIs provide the core infrastructure for social media posting, management, and analytics.\n\nThe Ayrshare API takes care of the social media infrastructure so you don't have to. Your team can focus on building your product instead of stitching together and maintaining multiple social media platforms.\n\nPost to Facebook, Twitter, Instagram, LinkedIn, Reddit, Telegram, TikTok, Google My Business, and YouTube.\n", "defaultLocale": { "country": "US", "language": "en" }, "organizationType": "PARTNERSHIP", "alternativeNames": [], "specialties": [ "social media", "api", "saas", "social networks", "tiktok", "facebook", "instagram" ], "staffCountRange": "SIZE_10_TO_100", "name": "Ayrshare", "primaryOrganizationType": "NONE", "locations": [ { "description": { "localized": { "en_US": "Headquarters" }, "preferredLocale": { "country": "US", "language": "en" } }, "locationType": "HEADQUARTERS", "address": { "geographicArea": "New York", "country": "US", "city": "New York", "line1": "142 W 57th St", "postalCode": "10019" }, "localizedDescription": "Headquarters", "streetAddressFieldState": "UNSET_OPT_OUT", "geoLocation": "urn:li:geo:103963738" } ], "id": 66755333 } ]}
{ "linkedin": { "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "The search must be a string between 3 and 100 characters." }}
curl \ -H "Authorization: Bearer API_KEY" \ -X GET "https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare"
curl \ -H "Authorization: Bearer API_KEY" \ -X GET "https://api.ayrshare.com/api/brand/search/linkedin?search=John%20Smith&personOnly=true"
const API_KEY = "API_KEY";// Search for company or personfetch("https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare", { method: "GET", headers: { Authorization: `Bearer ${API_KEY}` }}) .then((res) => res.json()) .then((json) => console.log(json)) .catch(console.error);// Search for person onlyfetch("https://api.ayrshare.com/api/brand/search/linkedin?search=John%20Smith&personOnly=true", { method: "GET", headers: { Authorization: `Bearer ${API_KEY}` }}) .then((res) => res.json()) .then((json) => console.log(json)) .catch(console.error);
import requestsheaders = {'Authorization': 'Bearer API_KEY'}# Search for company or personr = requests.get('https://api.ayrshare.com/api/brand/search/linkedin?search=ayrshare', headers=headers)print(r.json())# Search for person onlyr = requests.get('https://api.ayrshare.com/api/brand/search/linkedin?search=john&personOnly=true', headers=headers)print(r.json())
{ "linkedin": [ { "vanityName": "ayrshare", "website": "https://www.ayrshare.com", "groups": [], "description": "Ayrshare's APIs provide the core infrastructure for social media posting, management, and analytics.\n\nThe Ayrshare API takes care of the social media infrastructure so you don't have to. Your team can focus on building your product instead of stitching together and maintaining multiple social media platforms.\n\nPost to Facebook, Twitter, Instagram, LinkedIn, Reddit, Telegram, TikTok, Google My Business, and YouTube.\n", "defaultLocale": { "country": "US", "language": "en" }, "organizationType": "PARTNERSHIP", "alternativeNames": [], "specialties": [ "social media", "api", "saas", "social networks", "tiktok", "facebook", "instagram" ], "staffCountRange": "SIZE_10_TO_100", "name": "Ayrshare", "primaryOrganizationType": "NONE", "locations": [ { "description": { "localized": { "en_US": "Headquarters" }, "preferredLocale": { "country": "US", "language": "en" } }, "locationType": "HEADQUARTERS", "address": { "geographicArea": "New York", "country": "US", "city": "New York", "line1": "142 W 57th St", "postalCode": "10019" }, "localizedDescription": "Headquarters", "streetAddressFieldState": "UNSET_OPT_OUT", "geoLocation": "urn:li:geo:103963738" } ], "id": 66755333 } ]}
{ "linkedin": { "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "The search must be a string between 3 and 100 characters." }}