{"uid":"cap__QNx4W5wdLPIi687o4RVI","slug":"scrapfly-book-search-api-83b08a71","name":"ScrapFly Book Search API","description":"69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.","url":"https://scravfly.vercel.app/api/search/books","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"num":{"type":"number","description":"num"},"query":{"type":"string","description":"query"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G9bncKctahZNmm-tQXZJB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches for books by query string and returns structured book data including titles, authors, and metadata.","exampleAgentPrompt":"Search for the top 5 books about machine learning and give me a list with authors and titles.","exampleUseCases":[{"title":"Author bibliography discovery","prompt":"Find me up to 10 books written by Malcolm Gladwell — I want titles and any other details you can get."},{"title":"Topic-based reading list","prompt":"Search for books about stoic philosophy and return the top 8 results so I can build a reading list."},{"title":"Genre exploration for recommendations","prompt":"Look up science fiction books featuring artificial intelligence and return 6 results — I'm trying to recommend something to a friend."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing book search results including titles, authors, and related book metadata matching the query.","failureModes":["Missing required 'query' field returns a validation error","Empty or vague query may return no results or low-relevance books","Network or upstream scraping failure may return success: false","Rate limiting or payment failure via x402 may block the request","Requesting a very large 'num' value may time out or return partial results"],"whenToPreferThis":"Choose this endpoint when you need to search for books by title, author, or topic and receive structured metadata. It is especially useful for agents building reading lists, doing bibliographic research, or powering book recommendation features. Prefer this over general web scraping endpoints when the specific target domain is books and you want pre-structured results rather than raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:52:45.243Z","isFirstParty":false}