Skip to content

spoonacular API OpenAPI spec score

Octri scored the public spec at https://spoonacular.com/application/frontend/downloads/spoonacular-openapi-3.json for what a code generator can do with it. This is a reading of the document, not a grade of the API.

8.9/ 10
Strong

99 operations · 0 models · 7 tags · OpenAPI 3.0.0

Scored 5 December 2026 · fingerprint bc2fbe4e8981… · spec version 1.1 · server api.spoonacular.com

Document last changed 5 December 2026.

Where the points went

Every rule, heaviest first, with what it cost this document, how much of the surface it touched, and where. The rule id links to what that rule checks.

RuleWeightResultSurfaceLocations
Successful responses declare a schemaresponse-schema2.0Clean99 operations cleanNothing found
Shared models live in components and are $ref'dshared-schemas-referenced2.00.6 lost9 of 99 operationsmemory://audit/openapi.yaml#/paths/~1food~1ingredients~1{id}~1substitutes/getmemory://audit/openapi.yaml#/paths/~1recipes~1extract/getmemory://audit/openapi.yaml#/paths/~1food~1ingredients~1substitutes/getand 6 more
Generated public names do not collideoperation-id-unique2.0Clean99 operations cleanNothing found
Every path placeholder has a parameterpath-parameters-declared1.5Clean99 operations cleanNothing found
Every operation declares an operationIdoperation-id-present1.0Clean99 operations cleanNothing found
operationIds read as method namesoperation-id-naming1.0Clean99 operations cleanNothing found
Operations carry a summary or descriptionoperation-documented1.0Clean99 operations cleanNothing found
Request bodies are documentedrequest-body-documented1.00.3 lost15 of 99 operationsPOST /food/detectPOST /recipes/visualizeRecipePOST /recipes/analyzeInstructionsand 12 more
Failure responses are declarederror-responses1.0Clean99 operations cleanNothing found
Operations are taggedoperation-tagged1.00.2 lost3 of 99 operationsGET /recipes/{id}/cardGET /food/restaurants/searchPOST /recipes/analyze
No duplicate or equivalent pathsduplicate-paths1.0Clean97 paths cleanNothing found
Authentication is describedsecurity-declared1.0CleanDeclaredNothing found
Parameters explain their purposeparameters-documented0.75Clean99 operations cleanNothing found
A server URL is declaredserver-url0.5CleanDeclaredNothing found

What 8.9 means for an SDK

A strong reading, and the three rules that decide most of it.

A generator has what it needs here: typed methods, named models and doc comments that say something. What is left is polish, and it can wait until after the first release.

Three rules carry six of the 10 points between them. On this document they took 0.55.

Clean

Successful responses declare a schema

99 operations clean

−0.6

Shared models live in components and are $ref'd

9 of 99 operations

Clean

Generated public names do not collide

99 operations clean

What to change first

Every rule that deducted, in the order they cost.

  1. 0.6 lost

    Shared models live in components and are $ref'd

    Move the shape into components.schemas once and $ref it from each operation that returns or accepts it.

  2. 0.3 lost

    Request bodies are documented

    Describe the body, or the fields inside it. Field-level prose is the one that reaches the SDK's arguments.

    Inside Octri this one has a one-click fix.

  3. 0.2 lost

    Operations are tagged

    Tag every operation. Tags are what decide whether a caller writes `client.invoices.list()` or `client.misc.list()`.

    Inside Octri this one has a one-click fix.

Show this score on your docs

If you maintain this API, you can put the score next to your reference docs or in a README. The badge links back to this report and shows the same number it does.

spoonacular API OpenAPI spec score: 8.9 out of 10, scored by Octri
HTML
<a href="https://octri.dev/openapi-audit/spoonacular"><img src="https://octri.dev/openapi-audit/spoonacular/badge.svg" alt="spoonacular API OpenAPI spec score: 8.9 out of 10, scored by Octri" height="20"></a>
Markdown
[![spoonacular API OpenAPI spec score: 8.9 out of 10, scored by Octri](https://octri.dev/openapi-audit/spoonacular/badge.svg)](https://octri.dev/openapi-audit/spoonacular)

The spec at spoonacular.com is public. Octri keeps the `info` block, the score, and up to five sample finding locations per rule. The document itself is not stored and is not served from here. The audit predicts what an SDK generator can do with the description; it is not a security review, an uptime measurement or a critique of the API’s design. This page is not affiliated with spoonacular API or David Urbansky.