AIHackr

v0.8.1
io.github.biserd/aihackr Checked 18 hours ago Published 20 days ago

Read public webpages, extract structured data, discover links, and run bounded crawls.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_url_html_content

Get page HTML content Costs 1 credit per successful request.

ParameterTypeDescription
url *string
browserstringBrowser that renders the page. Omit to use the default Chrome browser. Set to "kitesurf" to use the Kitesurf browser engine.

get_url_markdown

Get page converted into Markdown Costs 1 credit per successful request.

ParameterTypeDescription
url *string
browserstringBrowser that renders the page. Omit to use the default Chrome browser. Set to "kitesurf" to use the Kitesurf browser engine.

scrape_url_elements

Scrape elements from a page by CSS selector Costs 1 credit per successful request.

ParameterTypeDescription
elements *arrayCSS selectors of the elements to scrape
url *string
browserstringBrowser that renders the page. Omit to use the default Chrome browser. Set to "kitesurf" to use the Kitesurf browser engine.

get_url_json

Extract structured JSON from a page using AI. Provide a prompt and/or a response_format JSON schema to guide extraction. Costs 5 credits per successful extraction.

ParameterTypeDescription
url *string
browserstringBrowser that renders the page. Omit to use the default Chrome browser. Set to "kitesurf" to use the Kitesurf browser engine.
promptstringNatural-language instruction for what to extract
response_formatobjectOptional JSON-schema response format to constrain the output

start_crawl

Start an asynchronous crawl of a website. Returns a job_id — poll get_crawl_result to retrieve records. Workspace maximum: 100 pages and depth 5. Reserves the page limit; charges 1 credit per successful page.

ParameterTypeDescription
url *string
browserstringBrowser that renders the crawled pages. Omit to use the default Chrome browser. Set to "kitesurf" to use the Kitesurf browser engine. Requires render to be true.
depthintegerHow many links deep to crawl
limitintegerMaximum number of pages to crawl
renderbooleanWhether to render pages with a browser (vs. fetching raw HTML)

get_crawl_result

Get the status and records of a crawl job started with start_crawl No additional credits; final crawl settlement includes partial successful pages.

ParameterTypeDescription
job_id *string

cancel_crawl

Cancel a running crawl job No additional credits; final crawl settlement includes partial successful pages.

ParameterTypeDescription
job_id *string

get_account

Identify the connected AIHackr account.