PitchAPIDocumentationMomentum

Momentum API

One signed series per match, so a chart can show who was on top and when.

GET /v1/matches/{id}/momentum returns a minute-by-minute pressure curve as a single signed series. Positive and negative values sit on either side of zero, which makes the data plottable without a second series for the opponent.

Not every match has momentum. The array can be empty, so check its length before indexing or plotting; an empty series is a valid response, not an error. Minutes are stored with decimals so a value can land inside a minute rather than only on the boundary.

Momentum is derived from the event feed, so it inherits the feed's idea of pressure rather than a separate model. It is useful for a match story and for finding the spells a scoreline hides, not as a substitute for the advanced analytics.

Data model

Momentum

A minute-by-minute pressure curve as a single signed series. Some matches have no momentum data, so check the array length before plotting.

Momentum points
minute0 to 90.75
Match minute. Fractional values mark stoppage and added extra time.
value-100 to 100
Pressure index at this minute. Positive favours home, negative favours away.
API reference

Endpoint

Every request takes an X-API-KEY header and returns the JSON envelope described on the overview.

GET/v1/matches/{id}/momentum

Retrieve momentum

A minute-by-minute pressure curve. Positive values favour home, negative favour away. Some matches return an empty array.

Auth API keyResponse JSON
idstringrequired

Match ID, for example m_B8x2K9

curl https://api.pitchapi.dev/v1/matches/{id}/momentum \
  -H "X-API-KEY: $PITCH_KEY"
Questions

Common questions

What does the sign mean?
The series is signed around zero: one direction is pressure from one side, the other direction pressure from the other. Pair it with the match's home and away teams when labelling a chart.
Why is the momentum array empty?
Not every match carries momentum data. Check the length before plotting and fall back to the events or team stats rather than treating the empty array as a failure.
Something missing or wrong? That is a bug in the docs.Get a free key
On this page