Bills

Topic scores

GET/v1/bills/{billId}/topic-scoresData + Analysis

How strongly the bill bears on each of our interest topics, from 0 to 1. Use it to route bills to the people who care about them.

Path parameters

NameDescription
billIdrequiredstringCongress, type and number, e.g. 119-hr-1234.

Response

FieldDescription
billIdstring
textVersionstring | null
dataTopicScore[]
data[].topicstring
data[].labelstring
data[].scorenumber | nullHow strongly the bill text bears on the topic, 0 to 1: the best-scoring passage.
data[].sectionsScoredinteger
data[].bestSectionScorenumber | null