{"openapi":"3.1.0","info":{"title":"Needle Keyless API","version":"1.0.0","description":"Test Needle's lead list building without creating an account or API key: find people, companies, jobs and posts, with a few free calls a day per IP for each kind of call. It is a demo. This is Needle's keyless API, a free way to test Needle's lead list building without creating an account: a few read-only calls a day. With an account, the full Needle API and MCP server work from your own connected accounts. They build and enrich lead lists, run outreach campaigns across channels, draft messages for review and read replies, with every tool at your accounts' own limits. Sign up, then create an API key or connect the MCP server."},"servers":[{"url":"/","description":"This server"}],"tags":[{"name":"LinkedIn"}],"paths":{"/keyless-api/v1/linkedin/sales-navigator/people/search":{"post":{"tags":["LinkedIn"],"operationId":"searchLinkedinPeopleSalesNavigator","summary":"Search people with Sales Navigator","description":"Finds people with Sales Navigator filters. Resolve filter ids with Resolve search filters first. Pass cursor from the response for the next page. Counts as one of your 5 people searches a day.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"string","minLength":1,"maxLength":512},"firstName":{"description":"Matches the first name on the profile.","type":"string","minLength":1,"maxLength":512},"lastName":{"description":"Matches the last name on the profile.","type":"string","minLength":1,"maxLength":512},"locations":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"},"description":"Geography ids from the search parameters endpoint with type=REGION and service=sales_navigator."},"excludedLocations":{"description":"Geographies to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"industries":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"},"description":"Industry ids from the search parameters endpoint with type=SALES_INDUSTRY and service=sales_navigator."},"excludedIndustries":{"description":"Industries to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"companies":{"description":"Current-company ids from the search parameters endpoint with type=COMPANY and service=sales_navigator.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"excludedCompanies":{"description":"Current companies to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"pastCompanies":{"description":"Past-company ids from the search parameters endpoint with type=COMPANY and service=sales_navigator.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"excludedPastCompanies":{"description":"Past companies to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"companyLocations":{"description":"Where the company sits, rather than where the person does. Geography ids with type=REGION and service=sales_navigator.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"excludedCompanyLocations":{"description":"Company geographies to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"companyHeadcounts":{"description":"Employee-count bands of the current company.","minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["1_to_10","11_to_50","51_to_200","201_to_500","501_to_1000","1001_to_5000","5001_to_10000","10001_plus"]}},"companyTypes":{"description":"How the current company is held.","minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["public_company","privately_held","non_profit","educational_institution","partnership","self_employed","self_owned","government_agency"]}},"schools":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"},"description":"School ids from the search parameters endpoint with type=SCHOOL and service=sales_navigator."},"excludedSchools":{"description":"Schools to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"functions":{"description":"The department someone works in. Function ids from the search parameters endpoint with type=DEPARTMENT and service=sales_navigator.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"excludedFunctions":{"description":"Functions to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"jobTitles":{"description":"Current job-title ids from the search parameters endpoint with type=JOB_TITLE and service=sales_navigator.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"excludedJobTitles":{"description":"Current job titles to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"pastJobTitles":{"description":"Job titles someone used to hold. Ids with type=JOB_TITLE and service=sales_navigator.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"excludedPastJobTitles":{"description":"Past job titles to leave out of the results.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"seniorities":{"description":"Seniority levels to search, from owner_partner down to in_training.","minItems":1,"maxItems":10,"type":"array","items":{"type":"string","enum":["owner_partner","cxo","vice_president","director","experienced_manager","entry_level_manager","strategic","senior","entry_level","in_training"]}},"excludedSeniorities":{"description":"Seniority levels to leave out of the results.","minItems":1,"maxItems":10,"type":"array","items":{"type":"string","enum":["owner_partner","cxo","vice_president","director","experienced_manager","entry_level_manager","strategic","senior","entry_level","in_training"]}},"yearsOfExperience":{"description":"Years of experience across someone's whole career.","minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["less_than_1","1_to_2","3_to_5","6_to_10","more_than_10"]}},"yearsAtCompany":{"description":"Years spent at the current company.","minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["less_than_1","1_to_2","3_to_5","6_to_10","more_than_10"]}},"yearsInPosition":{"description":"Years spent in the current position.","minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["less_than_1","1_to_2","3_to_5","6_to_10","more_than_10"]}},"profileLanguages":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^[a-z]{2}$"},"description":"ISO 639-1 profile-language codes from the search parameters endpoint with type=LANGUAGE."},"spotlights":{"description":"Sales Navigator's Spotlights: recent signals about the person.","minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["changed_jobs","posted_on_linkedin","mentioned_in_news"]}},"cursor":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"limit":{"default":25,"description":"Results per page, at most 25.","type":"integer","minimum":1,"maximum":25}},"additionalProperties":false}}}},"responses":{"200":{"description":"People and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"hits":{"type":"array","items":{"type":"object","properties":{"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"profileUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"fullName":{"anyOf":[{"type":"string"},{"type":"null"}]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"companyName":{"anyOf":[{"type":"string"},{"type":"null"}]},"jobTitle":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrlLarge":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["publicIdentifier","profileUrl","fullName","headline","location","companyName","jobTitle","imageUrl","imageUrlLarge"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["hits","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/search/parameters":{"get":{"tags":["LinkedIn"],"operationId":"listLinkedinSearchParameters","summary":"Resolve search filters","description":"Turns text such as Berlin or Head of Sales into the ids the people search takes. Counts as one of your 10 filter lookups a day.","parameters":[{"in":"query","name":"type","schema":{"type":"string","enum":["LOCATION","REGION","INDUSTRY","SALES_INDUSTRY","COMPANY","SCHOOL","SERVICE","JOB_TITLE","JOB_FUNCTION","DEPARTMENT","LANGUAGE"],"description":"Kind of filter value to resolve. Sales Navigator takes REGION, SALES_INDUSTRY, COMPANY, SCHOOL, JOB_TITLE, DEPARTMENT and LANGUAGE."},"required":true,"description":"Kind of filter value to resolve. Sales Navigator takes REGION, SALES_INDUSTRY, COMPANY, SCHOOL, JOB_TITLE, DEPARTMENT and LANGUAGE."},{"in":"query","name":"keywords","schema":{"description":"Text to match, such as Berlin for REGION.","type":"string","minLength":1,"maxLength":512},"description":"Text to match, such as Berlin for REGION."},{"in":"query","name":"service","schema":{"description":"Which search to resolve against. Use sales_navigator for the people search. Defaults to classic.","type":"string","enum":["classic","sales_navigator"]},"description":"Which search to resolve against. Use sales_navigator for the people search. Defaults to classic."},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Matching filter values.","content":{"application/json":{"schema":{"type":"object","properties":{"parameters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"pictureUrl":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","title","pictureUrl"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["parameters","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/profiles/{identity}":{"get":{"tags":["LinkedIn"],"operationId":"getLinkedinProfile","summary":"Get a LinkedIn profile","description":"Returns a profile with work history, education and skills, by public identifier or user id. Counts as one of your 15 profile lookups a day.","parameters":[{"in":"path","name":"identity","schema":{"type":"string","pattern":"^[\\p{L}\\p{N}\\p{M}_-]{3,200}$","description":"Public identifier, such as satyanadella, or user id (ACoAAA…)."},"required":true,"description":"Public identifier, such as satyanadella, or user id (ACoAAA…)."}],"responses":{"200":{"description":"LinkedIn profile.","content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"profileUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"fullName":{"anyOf":[{"type":"string"},{"type":"null"}]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}]},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The About section of the profile."},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"companyName":{"anyOf":[{"type":"string"},{"type":"null"}]},"jobTitle":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrlLarge":{"anyOf":[{"type":"string"},{"type":"null"}]},"backgroundImageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"followerCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"isOpenProfile":{"type":"boolean","description":"True when this person has Open Profile, so InMail can reach them without a connection and often without a credit."},"workExperience":{"type":"array","items":{"type":"object","properties":{"company":{"type":"string"},"position":{"type":"string"},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"employmentType":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"As written on LinkedIn, such as Full-time or Internship."},"startedOn":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Year and month, YYYY-MM. Null when LinkedIn has no date."},"endedOn":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Year and month, YYYY-MM. Null for the current job."},"skills":{"type":"array","items":{"type":"string"}}},"required":["company","position","location","description","employmentType","startedOn","endedOn","skills"],"additionalProperties":false}},"education":{"type":"array","items":{"type":"object","properties":{"school":{"type":"string"},"degree":{"anyOf":[{"type":"string"},{"type":"null"}]},"startedOn":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Year and month, YYYY-MM. Null when LinkedIn has no date."},"endedOn":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Year and month, YYYY-MM. Null when LinkedIn has no date."}},"required":["school","degree","startedOn","endedOn"],"additionalProperties":false}},"skills":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"endorsementCount":{"type":"number"}},"required":["name","endorsementCount"],"additionalProperties":false}},"projects":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"startedOn":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Year and month, YYYY-MM. Null when LinkedIn has no date."},"endedOn":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Year and month, YYYY-MM. Null when LinkedIn has no date."},"skills":{"type":"array","items":{"type":"string"}}},"required":["name","description","startedOn","endedOn","skills"],"additionalProperties":false}},"isHiring":{"type":"boolean","description":"True when the profile shows the #Hiring badge."},"isOpenToWork":{"type":"boolean","description":"True when the profile shows the #OpenToWork badge."},"websites":{"type":"array","items":{"type":"string"}},"throttledSections":{"type":"array","items":{"type":"string"},"description":"Sections LinkedIn held back on this read, such as experience or skills. Their lists are empty even when the person has entries; try again later."}},"required":["publicIdentifier","profileUrl","firstName","lastName","fullName","headline","summary","location","companyName","jobTitle","imageUrl","imageUrlLarge","backgroundImageUrl","followerCount","isOpenProfile","workExperience","education","skills","projects","isHiring","isOpenToWork","websites","throttledSections"],"additionalProperties":false},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["profile","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"403":{"description":"The keyless API cannot read this.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/companies/{identifier}":{"get":{"tags":["LinkedIn"],"operationId":"getLinkedinCompany","summary":"Get a LinkedIn company","description":"Returns a company page by public identifier, numeric id or URL. Counts as one of your 10 company lookups a day.","parameters":[{"in":"path","name":"identifier","schema":{"type":"string","minLength":1,"description":"Company public identifier (heravideo), numeric company id, or a LinkedIn company URL such as https://www.linkedin.com/company/heravideo."},"required":true,"description":"Company public identifier (heravideo), numeric company id, or a LinkedIn company URL such as https://www.linkedin.com/company/heravideo."}],"responses":{"200":{"description":"LinkedIn company.","content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"object","properties":{"id":{"type":"string"},"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"profileUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"tagline":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"industry":{"type":"array","items":{"type":"string"}},"employeeCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"employeeCountRange":{"anyOf":[{"type":"object","properties":{"from":{"anyOf":[{"type":"number"},{"type":"null"}]},"to":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["from","to"],"additionalProperties":false},{"type":"null"}]},"followerCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"organizationType":{"anyOf":[{"type":"string"},{"type":"null"}]},"headquarters":{"anyOf":[{"type":"string"},{"type":"null"}]},"foundedOn":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","publicIdentifier","profileUrl","name","tagline","description","website","industry","employeeCount","employeeCountRange","followerCount","logoUrl","organizationType","headquarters","foundedOn"],"additionalProperties":false},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["company","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"403":{"description":"The keyless API cannot read this.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/companies/search":{"post":{"tags":["LinkedIn"],"operationId":"searchLinkedinCompanies","summary":"Search companies","description":"Finds company pages by keywords. Counts as one of your 5 company, job and post searches a day.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"string","minLength":1,"maxLength":512},"cursor":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"limit":{"description":"Results per page, at most 10.","type":"integer","minimum":1,"maximum":10}},"required":["keywords"],"additionalProperties":false}}}},"responses":{"200":{"description":"Companies and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"companies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Numeric company id, accepted as identifier by /companies."},"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Usually null on a search hit. Use id instead."},"profileUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"industry":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"followerCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"jobOfferCount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Usually null on a search hit. Use the company jobs endpoint for open roles."}},"required":["id","publicIdentifier","profileUrl","name","summary","industry","location","logoUrl","followerCount","jobOfferCount"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["companies","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/companies/{identifier}/jobs":{"get":{"tags":["LinkedIn"],"operationId":"listLinkedinCompanyJobs","summary":"List jobs posted by a company","description":"Returns the open jobs a company has posted, by public identifier, numeric id or URL. Pass cursor from the response for the next page. Counts as one of your 5 company, job and post searches a day.","parameters":[{"in":"path","name":"identifier","schema":{"type":"string","minLength":1,"description":"Company public identifier (heravideo), numeric company id, or a LinkedIn company URL such as https://www.linkedin.com/company/heravideo."},"required":true,"description":"Company public identifier (heravideo), numeric company id, or a LinkedIn company URL such as https://www.linkedin.com/company/heravideo."},{"in":"query","name":"cursor","schema":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it."},{"in":"query","name":"limit","schema":{"description":"Results per page, at most 25.","type":"integer","minimum":1,"maximum":25},"description":"Results per page, at most 25."}],"responses":{"200":{"description":"Jobs and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"postedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"promoted":{"type":"boolean"},"easyApply":{"type":"boolean"},"companyId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Numeric company id, accepted as identifier by /companies."},"companyName":{"anyOf":[{"type":"string"},{"type":"null"}]},"companyPublicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Company public identifier, accepted as identifier by /companies."}},"required":["id","title","location","url","postedAt","promoted","easyApply","companyId","companyName","companyPublicIdentifier"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["jobs","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/jobs/search":{"post":{"tags":["LinkedIn"],"operationId":"searchLinkedinJobs","summary":"Search jobs","description":"Finds jobs by keywords, companies, location, industries, titles or functions. Resolve location, industry and title ids with Resolve search filters first. Pass cursor from the response for the next page. Counts as one of your 5 company, job and post searches a day.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"string","minLength":1,"maxLength":512},"companies":{"description":"Companies to search within. Each non-numeric identifier costs one extra lookup call.","minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"description":"Company public identifier (heravideo), numeric company id, or a LinkedIn company URL such as https://www.linkedin.com/company/heravideo."}},"location":{"description":"A single location id from GET /api/v1/linkedin/search/parameters?type=LOCATION. One location per search.","type":"string","pattern":"^\\d+$"},"industries":{"description":"Industry ids from GET /api/v1/linkedin/search/parameters?type=INDUSTRY.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"jobTitles":{"description":"Job title ids from GET /api/v1/linkedin/search/parameters?type=JOB_TITLE.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^\\d+$"}},"jobFunctions":{"description":"Job function ids from GET /api/v1/linkedin/search/parameters?type=JOB_FUNCTION.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","pattern":"^[a-z]+$"}},"seniority":{"minItems":1,"type":"array","items":{"type":"string","enum":["executive","director","mid_senior","associate","entry","intern"]}},"jobType":{"minItems":1,"type":"array","items":{"type":"string","enum":["full_time","part_time","contract","temporary","volunteer","internship","other"]}},"workplace":{"minItems":1,"type":"array","items":{"type":"string","enum":["on_site","hybrid","remote"]}},"postedWithinDays":{"type":"integer","minimum":1,"maximum":365},"sortBy":{"description":"Defaults to relevance.","type":"string","enum":["relevance","date"]},"cursor":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"limit":{"description":"Results per page, at most 25.","type":"integer","minimum":1,"maximum":25}},"additionalProperties":false}}}},"responses":{"200":{"description":"Jobs and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"postedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"promoted":{"type":"boolean"},"easyApply":{"type":"boolean"},"companyId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Numeric company id, accepted as identifier by /companies."},"companyName":{"anyOf":[{"type":"string"},{"type":"null"}]},"companyPublicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Company public identifier, accepted as identifier by /companies."}},"required":["id","title","location","url","postedAt","promoted","easyApply","companyId","companyName","companyPublicIdentifier"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["jobs","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/jobs/{jobId}":{"get":{"tags":["LinkedIn"],"operationId":"getLinkedinJob","summary":"Get a job","description":"Returns one job by id or job URL, with its description, applicant count, apply link and hiring team. Counts as one of your 4 job lookups a day.","parameters":[{"in":"path","name":"jobId","schema":{"type":"string","minLength":1,"description":"Numeric job id from a job listing or search, or a job URL such as https://www.linkedin.com/jobs/view/4447604185 (URL-encoded when sent in the path)."},"required":true,"description":"Numeric job id from a job listing or search, or a job URL such as https://www.linkedin.com/jobs/view/4447604185 (URL-encoded when sent in the path)."}],"responses":{"200":{"description":"The job.","content":{"application/json":{"schema":{"type":"object","properties":{"job":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"state":{"type":"string","enum":["active","draft","review","closed","paused"]},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"type":"string"},"companyId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Numeric company id, accepted as identifier by /companies."},"companyName":{"anyOf":[{"type":"string"},{"type":"null"}]},"applicantCount":{"type":"number"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"closedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"applyUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"External application page, when the job links to one."},"hiringTeam":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"LinkedIn member id, accepted as identity."},"name":{"type":"string"},"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Accepted as identity by the profile and messaging routes."},"profileUrl":{"type":"string"}},"required":["id","name","publicIdentifier","profileUrl"],"additionalProperties":false}},{"type":"null"}]}},"required":["id","url","state","title","description","location","companyId","companyName","applicantCount","createdAt","publishedAt","closedAt","applyUrl","hiringTeam"],"additionalProperties":false},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["job","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"403":{"description":"The keyless API cannot read this.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/posts":{"get":{"tags":["LinkedIn"],"operationId":"listLinkedinPosts","summary":"List posts by a person or company","description":"Returns recent posts by one author, newest first. Pass cursor from the response for the next page. Counts as one of your 5 post lookups (posts, comments and reactions) a day.","parameters":[{"in":"query","name":"identity","schema":{"type":"string","minLength":1,"maxLength":200,"description":"Author: a person (public identifier or user id) or a company (public identifier, numeric id or company URL)."},"required":true,"description":"Author: a person (public identifier or user id) or a company (public identifier, numeric id or company URL)."},{"in":"query","name":"cursor","schema":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it."},{"in":"query","name":"limit","schema":{"description":"Results per page, at most 25.","type":"integer","minimum":1,"maximum":25},"description":"Results per page, at most 25."}],"responses":{"200":{"description":"Posts and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","description":"Pass this id to the comment and reaction endpoints."},"text":{"type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"postedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"reactionCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"commentCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"repostCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"author":{"anyOf":[{"type":"object","properties":{"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"isCompany":{"type":"boolean"}},"required":["publicIdentifier","name","headline","imageUrl","isCompany"],"additionalProperties":false},{"type":"null"}]}},"required":["postId","text","url","postedAt","reactionCount","commentCount","repostCount","author"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["posts","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/posts/search":{"post":{"tags":["LinkedIn"],"operationId":"searchLinkedinPosts","summary":"Search posts","description":"Finds posts by keywords. Pass cursor from the response for the next page. Counts as one of your 5 company, job and post searches a day.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"string","minLength":1,"maxLength":512},"cursor":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"limit":{"description":"Results per page, at most 25.","type":"integer","minimum":1,"maximum":25}},"required":["keywords"],"additionalProperties":false}}}},"responses":{"200":{"description":"Posts and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","description":"Pass this id to the comment and reaction endpoints."},"text":{"type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"postedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"reactionCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"commentCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"repostCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"author":{"anyOf":[{"type":"object","properties":{"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"isCompany":{"type":"boolean"}},"required":["publicIdentifier","name","headline","imageUrl","isCompany"],"additionalProperties":false},{"type":"null"}]}},"required":["postId","text","url","postedAt","reactionCount","commentCount","repostCount","author"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["posts","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/posts/{postId}":{"get":{"tags":["LinkedIn"],"operationId":"getLinkedinPost","summary":"Get a post","description":"Returns one post with its author and how many reactions, comments and reposts it has. Counts as one of your 5 post lookups (posts, comments and reactions) a day.","parameters":[{"in":"path","name":"postId","schema":{"type":"string","minLength":1,"description":"Post id as returned by a post listing or search. An id copied from a post URL often does not resolve."},"required":true,"description":"Post id as returned by a post listing or search. An id copied from a post URL often does not resolve."}],"responses":{"200":{"description":"The post.","content":{"application/json":{"schema":{"type":"object","properties":{"post":{"type":"object","properties":{"postId":{"type":"string","description":"Pass this id to the comment and reaction endpoints."},"text":{"type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"postedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"reactionCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"commentCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"repostCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"author":{"anyOf":[{"type":"object","properties":{"publicIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"isCompany":{"type":"boolean"}},"required":["publicIdentifier","name","headline","imageUrl","isCompany"],"additionalProperties":false},{"type":"null"}]}},"required":["postId","text","url","postedAt","reactionCount","commentCount","repostCount","author"],"additionalProperties":false},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["post","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"403":{"description":"The keyless API cannot read this.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/posts/{postId}/comments":{"get":{"tags":["LinkedIn"],"operationId":"listLinkedinPostComments","summary":"List comments on a post","description":"Returns who commented on a post and what they wrote, or the replies to one comment. People who comment are warm leads: open their profiles next. Counts as one of your 5 post lookups (posts, comments and reactions) a day.","parameters":[{"in":"path","name":"postId","schema":{"type":"string","minLength":1,"description":"Post id as returned by a post listing or search. An id copied from a post URL often does not resolve."},"required":true,"description":"Post id as returned by a post listing or search. An id copied from a post URL often does not resolve."},{"in":"query","name":"commentId","schema":{"description":"Read replies to this comment instead of top-level comments.","type":"string","minLength":1},"description":"Read replies to this comment instead of top-level comments."},{"in":"query","name":"sortBy","schema":{"type":"string","enum":["MOST_RECENT","MOST_RELEVANT"]}},{"in":"query","name":"cursor","schema":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it."},{"in":"query","name":"limit","schema":{"description":"Results per page, at most 25.","type":"integer","minimum":1,"maximum":25},"description":"Results per page, at most 25."}],"responses":{"200":{"description":"Comments and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"comments":{"type":"array","items":{"type":"object","properties":{"commentId":{"type":"string"},"postId":{"anyOf":[{"type":"string"},{"type":"null"}]},"text":{"type":"string"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"reactionCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"replyCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"authorName":{"anyOf":[{"type":"string"},{"type":"null"}]},"authorIdentity":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as identity to the profile, message and invite endpoints."},"authorHeadline":{"anyOf":[{"type":"string"},{"type":"null"}]},"authorProfileUrl":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["commentId","postId","text","createdAt","reactionCount","replyCount","authorName","authorIdentity","authorHeadline","authorProfileUrl"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["comments","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}},"/keyless-api/v1/linkedin/posts/{postId}/reactions":{"get":{"tags":["LinkedIn"],"operationId":"listLinkedinPostReactions","summary":"List reactions on a post","description":"Returns who reacted to a post, or to one of its comments, and how. Counts as one of your 5 post lookups (posts, comments and reactions) a day.","parameters":[{"in":"path","name":"postId","schema":{"type":"string","minLength":1,"description":"Post id as returned by a post listing or search. An id copied from a post URL often does not resolve."},"required":true,"description":"Post id as returned by a post listing or search. An id copied from a post URL often does not resolve."},{"in":"query","name":"commentId","schema":{"description":"Read reactions on this comment instead of the ones on the post.","type":"string","minLength":1},"description":"Read reactions on this comment instead of the ones on the post."},{"in":"query","name":"cursor","schema":{"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.","type":"string","minLength":1,"maxLength":16384},"description":"cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it."},{"in":"query","name":"limit","schema":{"description":"Results per page, at most 25.","type":"integer","minimum":1,"maximum":25},"description":"Results per page, at most 25."}],"responses":{"200":{"description":"Reactions and a cursor for the next page.","content":{"application/json":{"schema":{"type":"object","properties":{"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"anyOf":[{"type":"string","enum":["like","celebrate","support","love","insightful","funny"]},{"type":"null"}],"description":"The reaction this person left. Null when LinkedIn returns a reaction we do not recognise."},"identity":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Public identifier or member id for a person. A company id when isCompany is true."},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"headline":{"anyOf":[{"type":"string"},{"type":"null"}]},"profileUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"isCompany":{"type":"boolean"}},"required":["reaction","identity","name","headline","profileUrl","imageUrl","isCompany"],"additionalProperties":false}},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and troubleshooting"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["reactions","cursor","requestId","info"],"additionalProperties":false}}}},"400":{"description":"The input asks for something the keyless API does not offer, or a cursor is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"404":{"description":"Nothing was found at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"410":{"description":"The search behind this cursor can no longer be continued. Start again without the cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"422":{"description":"The input does not match the schema.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"429":{"description":"This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}},"503":{"description":"The keyless API cannot serve this right now. Retry-After says when to try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeylessError"}}}}}}}},"components":{"schemas":{"KeylessInfo":{"type":"object","properties":{"message":{"type":"string"},"signUpUrl":{"type":"string","description":"Create a Needle account."},"apiKeysUrl":{"type":"string","description":"Create an API key for the full API once signed in."},"apiReferenceUrl":{"type":"string","description":"Every endpoint of the full API."},"mcpUrl":{"type":"string","description":"Connect Needle to an agent over MCP."}},"required":["message","signUpUrl","apiKeysUrl","apiReferenceUrl","mcpUrl"],"additionalProperties":false,"description":"Present on every keyless response. The keyless API is a demo; the full API and MCP server do much more."},"KeylessError":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Id of this request, for support and logs"},"error":{"type":"string","description":"Human-readable error message"},"data":{"description":"Optional extra details"},"info":{"$ref":"#/components/schemas/KeylessInfo"}},"required":["requestId","error","info"],"additionalProperties":false}}}}