I mean you need to query by your custom taxonomy (eg. songs_categories, or whatever you named it in your register_taxonomy() function) and then by the term.
&filter[taxonomy]=songs_categories&filter[term]=artist
PS: In my context I filter via custom filter, a plugin that enhance the API. You find all information on the repo.
Related Posts:
- filter rest api post by a acf filed
- How do I Filter Custom Post Type by Custom Taxonomy in the newest WordPress RESTful API?
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- How to add custom fields to admin UI and REST API response?
- Custom search with Custom Fields in WP REST API?
- Cannot add custom field to “orderby” parameter in Rest API
- Callback to custom field is not working in WordPress REST API
- Custom REST endpoints for a custom post type with custom fields
- Create custom post with meta field with AJAX and the WordPress REST API
- REST filters only firing when I have a param set
- Filter search posts by post meta?
- How to make an API call to a custom post type but filtering by meta value?
- Display custom post front end filter by ACF equals current user
- How To Read Read Custom Post Type Data in Headless CMS Mode
- WP Admin Dropdown List Filter for custom (ACF) field on custom post type(s)
- Filter posts by their related field’s custom field
- Post Click Redirect to Custom URL instead of Single Post Page
- How can I add a meta[] to my custom post type and search by term with the Rest API?
- register_rest_field update_callback don’t work for $_FILES
- How to properly set a value to meta fields of a custom post type in WP-API/node-wpapi REST API?
- Converting a checkbox filter for custom fields to a dropdown
- How do I filter a custom post type loop by a field?
- querying to custom field over ACF REST API
- Can’t expose custom field to REST API
- add custom field to custom post type
- How to set up multisite for multi language?
- CPT Group by Date metabox Value
- How to check if user meta field is empty in conditional else statement
- Replace text in post from cvs
- Admin search ACF relationship
- wp_query check if integer exists in custom field’s array
- How can I see a list of my Custom Post Types of the last term I was in?
- How can I dynamically add a post to a custom post type which uses a custom field?
- Filtering custom post type on a combination of custom taxonomies and custom fields?
- Custom Posts Types as Custom Fields
- Filtering WP_Query
- Get image post ID in media upload
- Why is my select meta data not saving?
- dynamically add a custom field or metabox to custom post type [duplicate]
- Give a permalink to Custom Post Types without title
- Role scoping for contributors down to the field level
- How to implement a Google map store locator
- Displaying custom taxonomy in the admin list of a custom post type
- Creating a Custom Post as a repository for theme constants
- search also in taxonomy, tags and custom fields
- How can I run this code once so that my generated post title doesn’t keep changing on publish/update?
- Random image from tag/custom type on sidebar
- How to stick custom post at the top in search results
- filter custom post type by meta key in dashboard
- How do I create custom fields for multiple post types?
- Add field to all custom post types
- Categories of custom taxonomy don’t show any posts
- Query & Order posts by custom fields
- Filter custom posts using auto populated dropdown selectors
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Custom post type content using custom fields without template
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- retrieve Meta field value from CPT and set those values as Image Meta Field “Title”
- Having unique constraints for custom fields in a custom post type
- How to add a post slug to a url?
- Querying Two Custom Post Types with OR Not Working
- How can I get the number of custom post type posts that have a specific attachment image set?
- Trash / Draft a WordPress custom post after custom date field expires
- Set a maxlength for the title input in a custom post type
- Posting to a Custom Post Type from front end – user generated content
- Display custom fields from custom posts in RSS feed
- Bulk Update Custom Fields for Custom Post Types
- How can I use get_post_meta with add_rewrite_rule to build custom permalinks?
- Visual editor issue by having multiple tiny mce editors in a CPT
- WordPress sort search results by custom order
- How to filter wp_list_categories output with some custom post type meta query?
- WordPress Custom Fields Won’t Save
- Update Post Meta for a logged in user
- Getting meta in editor plugin, and event triggering issue
- Problem querying Custom post type by custom fields
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Add custom field to Posts and sort by it
- Orderby CPT custom fields not working
- How to Filter custom post type by taxonomy?
- WP_Query order by custom field, then randomly order some of results
- A better way to add a meta box to custom post types
- Rows with custom columns not well formatted after Quick Edit save
- Plugin – Combine Meta Box Input Fields into single saveble record
- Two Custom Post Types Many to Many Relationship
- Filter term taxonomy metabox in custom post type
- Expose a custom field of a custom post type to the REST API
- Show custom post type relationships by taxonomy
- get_post_meta not working on publishing
- How to create custom post by using REST API securely?
- Custom post type archive page – Posts overview – with one modal for multiple posts?
- creat filter with wp_query
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- Query custom post type with ACF Date
- Custom setting to show or hide field
- Custom Meta Field – Remove comma from string with str_replace
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- WP Rest API – How to get an empty response if query has no posts
- Using custom field content as expression in IF statement [closed]
- Meta Query Not Returning Output Despite Having Matching Values
- How to create a custom post type with additional fields?