Secure APIs

you own this product
Design, build, and implement
José Haro Peralta
Foreword by Dan Barahona
  • October 2025
  • ISBN 9781633436633
  • 376 pages
  • printed in black & white
  • available in Russian
print book available Oct 16, 2025
ePub + liveBook available Oct 16, 2025

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Practical, battle-tested techniques to recognize and prevent attacks on your APIs.

Hackers know how important your APIs are, and they also know how to find the weak spots in your API security. As a result, APIs have become principal vectors of attack against apps and sites. Secure APIs: Design, build, and implement shows you reliable methods you can use to counter cracks, hacks, and attacks on your internal and external APIs.

In this innovative new book, you’ll learn:

  • Addressing the OWASP Top 10 API security vulnerabilities
  • API security by design
  • Zero-trust security
  • Automated API testing strategies
  • Observability and monitoring for threat detection

Written for developers and architects, Secure APIs: Design, build, and implement shows you how to create and deploy APIs that are resistant to the most common security threats. Author José Peralta illustrates each vulnerability with extended code samples and shows you exactly how to mitigate them in your own APIs. You’ll find insights into emerging AI-powered security threats, along with tips and patterns for using LLMs in your own security testing.

about the technology

APIs are the primary way to share data and services privately inside applications and publicly with customers and partners. Unfortunately, they’re also a prime target for cyberattacks. Here’s the good news! There are proven strategies for finding vulnerabilities, locking out intruders, and building APIs that are secure by design.

about the book

Secure APIs teaches you to design, implement, and deploy secure APIs, providing clear examples of how attackers exploit weak authentication, insufficient constraints, and flawed architecture. In this practical book, you’ll dissect the OWASP Top 10 API security risks and explore techniques to harden your APIs, establish real-time monitoring, and prepare for fast incident response. Case studies from e-commerce, ridesharing, and other high-visibility targets show you how to deploy APIs that stay secure in production.

what's inside

  • API security by design
  • Zero-trust security
  • Automated API testing strategies
  • Observability and monitoring for threat detection

about the reader

For software developers and architects, cybersecurity professionals, and QA engineers. Examples are in Python.

about the author

José Haro Peralta is head of cybersecurity strategy at APISec, and author of Microservice APIs. He’s also the founder of microapis.io and apithreats.com.

Overall, the book is a balanced mix of theoretical knowledge and hands-on advice, making it suitable for both newcomers to API security and seasoned professionals looking to deepen their expertise or get up to speed.

Samer Hamad, Senior Security Engineer, Amazon

A must-read for anyone working with APIs! This book offers a clear, comprehensive guide to API security—perfect for both beginners and experienced professionals. It covers everything from foundational concepts to advanced strategies, including challenges brought by AI-driven threats. Practical, well-structured, and highly relevant in today’s cloud and hybrid environments. Highly recommended!

Pradyumna Amasebail Kodgi, Product Manager, Oracle
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Secure APIs ebook for free
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Secure APIs ebook for free